xen/arm: warn if dom0_mem is not specified
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 28 Feb 2017 18:56:14 +0000 (10:56 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 28 Feb 2017 18:57:02 +0000 (10:57 -0800)
commit8222557798768995e81c53aee3c273ea9503afb5
tree988fa9ee95074640e37cbd3882e5d2197acc4071
parentb675eec77e66e0775119b1dc76a64b86de231a8d
xen/arm: warn if dom0_mem is not specified

The default dom0_mem is 128M which is not sufficient to boot a Ubuntu
based Dom0. It is not clear what a better default value could be.

Instead, loudly warn the user when dom0_mem is unspecified and wait 3
secs. Then use 512M.

Update the docs to specify that dom0_mem is required on ARM. (The
current xen-command-line document does not actually reflect the current
behavior of dom0_mem on ARM correctly.)

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
docs/misc/xen-command-line.markdown
xen/arch/arm/domain_build.c