x86/vmx: Add force-ept command line option
authorAravindh Puthiyaparambil <aravindp@cisco.com>
Thu, 24 Apr 2014 08:55:09 +0000 (10:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 24 Apr 2014 08:55:09 +0000 (10:55 +0200)
commit2fff2e22813d5c04effa335f9ab2d5254db065f6
tree84373d216f52d3f09f70ed1616543aa019872416
parent65e355490817ac1783c9ef06c13cf980edf05b5b
x86/vmx: Add force-ept command line option

Add a "force-ept" command line option to allow EPT to be enabled when
VMX feature VM_ENTRY_LOAD_GUEST_PAT is not present.

Due to CVE-2013-2212, this feature is required by default as a
prerequisite for using EPT. If you are not using PCI Passthrough, or
trust the guest administrator who would be using passthrough, then the
requirement can be relaxed. This option is particularly useful for
nested virtualization, to allow the L1 hypervisor to use EPT even if
the L0 hypervisor does not provide VM_ENTRY_LOAD_GUEST_PAT.

Signed-off-by: Aravindh Puthiyaparambil <aravindp@cisco.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/hvm/vmx/vmx.c