pvh/dom0: warn when dom0_mem is not set
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 18 Feb 2019 12:44:53 +0000 (13:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Feb 2019 12:44:53 +0000 (13:44 +0100)
commitfbaa0e58f39ae23263ad0935d88a7e61e0dd9ef1
tree9590da3fdf6f1db73c850ac0c6e55a54a0cfc172
parent6fa1755644d0e63793007c8d911b4b520ca95301
pvh/dom0: warn when dom0_mem is not set

There have been several reports of the dom0 builder running out of
memory when building a PVH dom0 without having specified a dom0_mem
value. Print a warning message if dom0_mem is not set when booting in
PVH mode.

This is a temporary workaround until accounting for internal memory
required by Xen (ie: paging structures) is improved.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/dom0_build.c