From: Hans van Kranenburg Date: Fri, 22 Feb 2019 16:06:29 +0000 (+0100) Subject: d/[..]/grub.d/xen.cfg: dom0_mem max IS needed X-Git-Tag: archive/raspbian/4.11.1+26-g87f51bf366-3+rpi1~1^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=57bb4b52c718a8ed5fa41c66e48d2761a2ec1aac;p=xen.git d/[..]/grub.d/xen.cfg: dom0_mem max IS needed I misread the upstream documentation. Adding max: for x86 is actually necessary to not have it "attempt to allocate enough page tables to cover all of *host* RAM which can exhaust its actual memory allocation". Signed-off-by: Hans van Kranenburg --- diff --git a/debian/tree/xen-hypervisor-common/etc/default/grub.d/xen.cfg b/debian/tree/xen-hypervisor-common/etc/default/grub.d/xen.cfg index a5559e1035..e3853c33ca 100644 --- a/debian/tree/xen-hypervisor-common/etc/default/grub.d/xen.cfg +++ b/debian/tree/xen-hypervisor-common/etc/default/grub.d/xen.cfg @@ -13,11 +13,12 @@ echo "Including Xen overrides from /etc/default/grub.d/xen.cfg" # The first two options are used to generate arguments for the hypervisor. # Commonly used options are: # -# dom0_mem= +# dom0_mem= (for arm) +# dom0_mem=,max: (for x86) # Sets the amount of memory dom0 uses to a fixed size. All other memory # will be usable for domUs. For x86, this prevents ballooning actions # from happening to take away memory from the dom0 or return it back. For -# arm, setting this option is required. E.g. dom0_mem=4G +# arm, setting this option is required. E.g. (for x86) dom0_mem=4G,max:4G # # dom0_max_vcpus=- # Limits the amount of physical cpus that dom0 is using, so it will not