summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorAbel Gordon2013-04-18 13:34:55 +0200
committerGleb Natapov2013-04-22 09:51:09 +0200
commit89662e566c73230dab9f1d99dbe2f6d9c8c189a8 (patch)
treef3a9fac467792d9ce01e74d32b0744afc0da3ef1 /arch/x86/include/asm
parentMerge git://github.com/agraf/linux-2.6.git kvm-ppc-next into queue (diff)
downloadkernel-qcow2-linux-89662e566c73230dab9f1d99dbe2f6d9c8c189a8.tar.gz
kernel-qcow2-linux-89662e566c73230dab9f1d99dbe2f6d9c8c189a8.tar.xz
kernel-qcow2-linux-89662e566c73230dab9f1d99dbe2f6d9c8c189a8.zip
KVM: nVMX: Shadow-vmcs control fields/bits
Add definitions for all the vmcs control fields/bits required to enable vmcs-shadowing Signed-off-by: Abel Gordon <abelg@il.ibm.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/vmx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index 6f07f1999138..f3e01a2cbaa1 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -65,6 +65,7 @@
#define SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY 0x00000200
#define SECONDARY_EXEC_PAUSE_LOOP_EXITING 0x00000400
#define SECONDARY_EXEC_ENABLE_INVPCID 0x00001000
+#define SECONDARY_EXEC_SHADOW_VMCS 0x00004000
#define PIN_BASED_EXT_INTR_MASK 0x00000001
@@ -150,6 +151,8 @@ enum vmcs_field {
EOI_EXIT_BITMAP2_HIGH = 0x00002021,
EOI_EXIT_BITMAP3 = 0x00002022,
EOI_EXIT_BITMAP3_HIGH = 0x00002023,
+ VMREAD_BITMAP = 0x00002026,
+ VMWRITE_BITMAP = 0x00002028,
GUEST_PHYSICAL_ADDRESS = 0x00002400,
GUEST_PHYSICAL_ADDRESS_HIGH = 0x00002401,
VMCS_LINK_POINTER = 0x00002800,