]> git.baikalelectronics.ru Git - kernel.git/commit
xen: enable BALLOON_MEMORY_HOTPLUG by default
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 24 Mar 2020 15:00:15 +0000 (16:00 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 21 May 2020 23:11:03 +0000 (18:11 -0500)
commit0d73df3e02183f01e5fb2454e4b8e10e2466edfc
tree8e01b1ca7edf4f5ba6ed959ee4784d5de95179f1
parentc265cd19d3a4e974dd942fccb2ed815968aa1582
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: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Link: https://lore.kernel.org/r/20200324150015.50496-2-roger.pau@citrix.com
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/Kconfig