aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.h
diff options
context:
space:
mode:
authorLi, Xin B <xin.b.li@intel.com>2007-08-01 14:49:10 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:23 -0400
commit1e4e6e00136b82a5595de903c28912afee1178cb (patch)
treecdbd7155de3754fafb0a20172a8e0aaec34e6bf5 /drivers/kvm/vmx.h
parenta477034750ce59df7fc17823f085df5a30e316f0 (diff)
KVM: VMX: Remove a duplicated ia32e mode vm entry control
Remove a duplicated ia32e mode VM Entry control definition and use the proper one. Signed-off-by: Xin Li <xin.b.li@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/vmx.h')
-rw-r--r--drivers/kvm/vmx.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/kvm/vmx.h b/drivers/kvm/vmx.h
index 7e4dc1208dd4..35d0b58c0a0b 100644
--- a/drivers/kvm/vmx.h
+++ b/drivers/kvm/vmx.h
@@ -268,9 +268,6 @@ enum vmcs_field {
268/* segment AR */ 268/* segment AR */
269#define SEGMENT_AR_L_MASK (1 << 13) 269#define SEGMENT_AR_L_MASK (1 << 13)
270 270
271/* entry controls */
272#define VM_ENTRY_CONTROLS_IA32E_MASK (1 << 9)
273
274#define AR_TYPE_ACCESSES_MASK 1 271#define AR_TYPE_ACCESSES_MASK 1
275#define AR_TYPE_READABLE_MASK (1 << 1) 272#define AR_TYPE_READABLE_MASK (1 << 1)
276#define AR_TYPE_WRITEABLE_MASK (1 << 2) 273#define AR_TYPE_WRITEABLE_MASK (1 << 2)