From: Avi Kivity Date: Wed, 28 Apr 2010 12:40:31 +0000 (+0300) Subject: KVM: VMX: Add definition for msr autoload entry X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=19b95dba0324e55505682a18ff9a437fbf4a2592;p=linux-beck.git KVM: VMX: Add definition for msr autoload entry Signed-off-by: Avi Kivity --- diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h index fb9a080740ec..449731890763 100644 --- a/arch/x86/include/asm/vmx.h +++ b/arch/x86/include/asm/vmx.h @@ -25,6 +25,8 @@ * */ +#include + /* * 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