xen/balloon: make sure we only include remaining extra ram
If the user specifies mem= on the kernel command line, some or all
of the extra memory E820 region may be clipped away, so make sure
we don't try to add more extra memory than exists in E820.
Signed-off-by:
Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent
2f70e0ac
Please register or sign in to comment