KVM: nVMX: Detect shadow-vmcs capability
authorAbel Gordon <abelg@il.ibm.com>
Thu, 18 Apr 2013 11:35:25 +0000 (14:35 +0300)
committerGleb Natapov <gleb@redhat.com>
Mon, 22 Apr 2013 07:51:21 +0000 (10:51 +0300)
commitabc4fc58c5ba1a794092bcd97fdb1680b0b3398d
tree9b9558bae034adc6a419c1f52fe5c44f27d769cf
parent89662e566c73230dab9f1d99dbe2f6d9c8c189a8
KVM: nVMX: Detect shadow-vmcs capability

Add logic required to detect if shadow-vmcs is supported by the
processor. Introduce a new kernel module parameter to specify if L0 should use
shadow vmcs (or not) to run L1.

Signed-off-by: Abel Gordon <abelg@il.ibm.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/vmx.c