KVM: VMX: Add definition for msr autoload entry
authorAvi Kivity <avi@redhat.com>
Wed, 28 Apr 2010 12:40:31 +0000 (15:40 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:30 +0000 (11:36 +0300)
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/vmx.h

index fb9a080740ecf48970e9648c85caac34bfaf09c6..44973189076363e658df8a90518c24f8884b9e85 100644 (file)
@@ -25,6 +25,8 @@
  *
  */
 
+#include <linux/types.h>
+
 /*
  * Definitions of Primary Processor-Based VM-Execution Controls.
  */
@@ -394,6 +396,10 @@ enum vmcs_field {
 #define ASM_VMX_INVEPT           ".byte 0x66, 0x0f, 0x38, 0x80, 0x08"
 #define ASM_VMX_INVVPID                  ".byte 0x66, 0x0f, 0x38, 0x81, 0x08"
 
-
+struct vmx_msr_entry {
+       u32 index;
+       u32 reserved;
+       u64 value;
+} __aligned(16);
 
 #endif