x86: Move FEATURE_CONTROL bits to msr-index.h
authorSheng Yang <sheng.yang@intel.com>
Thu, 11 Sep 2008 07:27:50 +0000 (15:27 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:16:14 +0000 (10:16 +0200)
For MSR_IA32_FEATURE_CONTROL is already there.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.h
include/asm-x86/msr-index.h

index 44cfab706443936aa733428c46703fcc908d9350..3e010d21fdd71afdf65cdb086fb158632e391abf 100644 (file)
@@ -331,9 +331,6 @@ enum vmcs_field {
 
 #define AR_RESERVD_MASK 0xfffe0f00
 
-#define FEATURE_CONTROL_LOCKED             (1<<0)
-#define FEATURE_CONTROL_VMXON_ENABLED      (1<<2)
-
 #define APIC_ACCESS_PAGE_PRIVATE_MEMSLOT       9
 #define IDENTITY_PAGETABLE_PRIVATE_MEMSLOT     10
 
index 0bb43301a2022ca8d3a23f8ce6a3459476caf7b7..dabd10f0bbee25359a54d7104344813371b742ab 100644 (file)
 #define MSR_IA32_EBL_CR_POWERON                0x0000002a
 #define MSR_IA32_FEATURE_CONTROL        0x0000003a
 
+#define FEATURE_CONTROL_LOCKED         (1<<0)
+#define FEATURE_CONTROL_VMXON_ENABLED  (1<<2)
+
 #define MSR_IA32_APICBASE              0x0000001b
 #define MSR_IA32_APICBASE_BSP          (1<<8)
 #define MSR_IA32_APICBASE_ENABLE       (1<<11)