diff options
author | Juergen Gross <jgross@suse.com> | 2015-09-04 14:18:08 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-09-08 16:28:05 +0100 |
commit | cb9e444b5aaa900bb4310da411315b6947c53e37 (patch) | |
tree | b951c1c743a923e20428105f1be794a5adf60219 /include/xen | |
parent | ab24507cfae8d916814bb6c16f66e453184a29a5 (diff) | |
download | linux-cb9e444b5aaa900bb4310da411315b6947c53e37.tar.gz linux-cb9e444b5aaa900bb4310da411315b6947c53e37.tar.bz2 linux-cb9e444b5aaa900bb4310da411315b6947c53e37.zip |
xen: limit memory to architectural maximum
When a pv-domain (including dom0) is started it tries to size it's
p2m list according to the maximum possible memory amount it ever can
achieve. Limit the initial maximum memory size to the architectural
limit of the hardware in order to avoid overflows during remapping
of memory.
This problem will occur when dom0 is started with an initial memory
size being a multiple of 1GB, but without specifying it's maximum
memory size. The kernel must be configured without
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG for the problem to happen.
Reported-by: Roger Pau Monné <roger.pau@citrix.com>
Tested-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions