]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: VMX: Support Unrestricted Guest feature
authorNitin A Kamble <nitin.a.kamble@intel.com>
Mon, 8 Jun 2009 18:34:16 +0000 (11:34 -0700)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:49 +0000 (08:32 +0300)
commit3a624e29c7587b79abab60e279f9d1a62a3d4716
treec6cfd94b21572b4992b76a51d563b5ec3550473b
parentfa40a8214bb9bcae8d49c234c19d8b4a6c1f37ff
KVM: VMX: Support Unrestricted Guest feature

"Unrestricted Guest" feature is added in the VMX specification.
Intel Westmere and onwards processors will support this feature.

    It allows kvm guests to run real mode and unpaged mode
code natively in the VMX mode when EPT is turned on. With the
unrestricted guest there is no need to emulate the guest real mode code
in the vm86 container or in the emulator. Also the guest big real mode
code works like native.

  The attached patch enhances KVM to use the unrestricted guest feature
if available on the processor. It also adds a new kernel/module
parameter to disable the unrestricted guest feature at the boot time.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c