X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmcs.h;h=491f80e68e57da8b63c685ad4b7a41a433c68dbf;hp=2d0b17e4dbb32c59deca594d94a650c3d4310b49;hb=52a58bb7bdf06ca22ad6883f8095f8aa5ca4b8a4;hpb=a24a1722328a575cec8dd8578902fd0f68c72c1c diff --git a/palacios/include/palacios/vmcs.h b/palacios/include/palacios/vmcs.h index 2d0b17e..491f80e 100644 --- a/palacios/include/palacios/vmcs.h +++ b/palacios/include/palacios/vmcs.h @@ -41,6 +41,8 @@ #define MWAIT_EXIT 0x00000400 #define RDPMC_EXIT 0x00000800 #define RDTSC_EXIT 0x00001000 +#define CR3_LOAD_EXIT 0x00008000 +#define CR3_STORE_EXIT 0x00010000 #define CR8_LOAD_EXIT 0x00080000 #define CR8_STORE_EXIT 0x00100000 #define USE_TPR_SHADOW 0x00200000 @@ -51,6 +53,7 @@ #define USE_MSR_BITMAPS 0x10000000 #define MONITOR_EXIT 0x20000000 #define PAUSE_EXIT 0x40000000 +#define ACTIVE_SEC_CTRLS 0x80000000 /* VM-Exit Controls */ /* INTEL MANUAL: 20-16 vol. 3B */ #define HOST_ADDR_SPACE_SIZE 0x00000200 @@ -214,7 +217,7 @@ void v3_print_vmcs(); /* VMCS Exit QUALIFICATIONs */ -struct VMExitIOQual { +struct vmcs_io_qual { uint32_t accessSize : 3; // (0: 1 Byte ;; 1: 2 Bytes ;; 3: 4 Bytes) uint32_t dir : 1; // (0: Out ;; 1: In) uint32_t string : 1; // (0: not string ;; 1: string)