]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite806db03e5f1a5e7aba47e2c631c503a68d71db7
treec33b0eb391258ef5c42d16d3638ca53e58ed9fd6
parent57e47d123bc9fde8f607326e44269bbaece9418a
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