From 8dd322c581b9c8883dad94500b4077db63d0d8f1 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 28 Apr 2010 15:40:31 +0300 Subject: [PATCH] --- yaml --- r: 197823 b: refs/heads/master c: 19b95dba0324e55505682a18ff9a437fbf4a2592 h: refs/heads/master i: 197821: c2a25d39192e8e68e7354e4ddb40a15fc7f1cb56 197819: 914bfa0e99c82a846f0a90727d4372a7ccb21e3a 197815: 7da7ccf5d20ff240e2eef3280000ce40f0ba6dd3 197807: 7304426994da721b8082652e51b4cf207e012dfc 197791: 8959cc21d05d50f3ad99faa905a058234a13ca64 197759: 3b4ec2f06b8ed26c5fd6cd2ef7783b17744e4fe5 v: v3 --- [refs] | 2 +- trunk/arch/x86/include/asm/vmx.h | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9d18645b1a79..53e4ced89a67 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0ee75bead83da4791e5cbf659806c54d8ee40f12 +refs/heads/master: 19b95dba0324e55505682a18ff9a437fbf4a2592 diff --git a/trunk/arch/x86/include/asm/vmx.h b/trunk/arch/x86/include/asm/vmx.h index fb9a080740ec..449731890763 100644 --- a/trunk/arch/x86/include/asm/vmx.h +++ b/trunk/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