KVM: VMX: Import some constants of vmcs from IA32 SDM
authorYang, Sheng <sheng.yang@intel.com>
Wed, 25 Jul 2007 09:17:06 +0000 (12:17 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:19 +0000 (10:18 +0200)
commit62b3ffb8b357a791491726cff8d395027e5245b7
treec33b0eb391258ef5c42d16d3638ca53e58ed9fd6
parentfe5518819463d57ed032bc12458ed681bc790609
KVM: VMX: Import some constants of vmcs from IA32 SDM

This patch mainly imports some constants and rename two exist constants
of vmcs according to IA32 SDM.

It also adds two constants to indicate Lock bit and Enable bit in
MSR_IA32_FEATURE_CONTROL, and replace the hardcode _5_ with these two
bits.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c
drivers/kvm/vmx.h