x86/dom0: Improve dom0= useability
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Dec 2018 13:43:27 +0000 (13:43 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 21 Jan 2019 18:11:34 +0000 (18:11 +0000)
commit53a84f672df7eb183c857f028dfa80974bf61dd6
treedd5a39193260b741dc94c4938892cc3bb14de85d
parent01397478f29239a0e22655ff1a35f4ff9577b63b
x86/dom0: Improve dom0= useability

Having a pvh boolean isn't ideal.  If we gain a 3rd virtulsation mode,
what does `dom0=no-pvh` mean?

Change the syntax to be "dom0 = pv | pvh" which offers an option to more
obviously select PV mode.  Hide both options behind the relevent
CONFIG_* settings, and default to PVH mode when CONFIG_PV is compiled
out.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
docs/misc/xen-command-line.pandoc
xen/arch/x86/dom0_build.c