x86/cpuid: Enable CPUID Faulting for PV control domains by default
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 11 Sep 2019 18:42:43 +0000 (19:42 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 26 Sep 2019 12:40:18 +0000 (13:40 +0100)
commit8f7824289910db2fc3260c2c02f3dda27ae11ec9
tree23d1ef47e844364bc7751569c5bf9816f8583865
parent6df43b32aba861aa53d6ab6e2b47c4bcca850dbe
x86/cpuid: Enable CPUID Faulting for PV control domains by default

The domain builder no longer uses local CPUID instructions for policy
decisions.  This resolves a key issue for PVH dom0's.  However, as PV dom0's
have never had faulting enforced, leave a command line option to restore the
old behaviour.

Advertise virtualised faulting support to control domains unless the opt-out
has been used.

Signed-off-by: Andrew Cooper <andrew.cooper3@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/cpu/common.c
xen/arch/x86/dom0_build.c
xen/arch/x86/msr.c
xen/include/asm-x86/setup.h