Commit 2abb65a3 authored by Roger Pau Monne's avatar Roger Pau Monne Committed by Boris Ostrovsky

xen: enable BALLOON_MEMORY_HOTPLUG by default

Without it a PVH dom0 is mostly useless, as it would balloon down huge
amounts of RAM in order get physical address space to map foreign
memory and grants, ultimately leading to an out of memory situation.

Such option is also needed for HVM or PVH driver domains, since they
also require mapping grants into physical memory regions.
Suggested-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
Link: https://lore.kernel.org/r/20200324150015.50496-2-roger.pau@citrix.comReviewed-by: default avatarJuergen Gross <jgross@suse.com>
Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
parent 0df683ff
...@@ -13,6 +13,7 @@ config XEN_BALLOON ...@@ -13,6 +13,7 @@ config XEN_BALLOON
config XEN_BALLOON_MEMORY_HOTPLUG config XEN_BALLOON_MEMORY_HOTPLUG
bool "Memory hotplug support for Xen balloon driver" bool "Memory hotplug support for Xen balloon driver"
depends on XEN_BALLOON && MEMORY_HOTPLUG depends on XEN_BALLOON && MEMORY_HOTPLUG
default y
help help
Memory hotplug support for Xen balloon driver allows expanding memory Memory hotplug support for Xen balloon driver allows expanding memory
available for the system above limit declared at system startup. available for the system above limit declared at system startup.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment