X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_msr.h;h=1869e33da83d30d89206865b0bcf46f3da6aff63;hb=9feccf93cd8327d1d30a404a92f19716bf5a1e96;hp=87a8a7e5a27769e11c3a51b68e11ba2af2c7338f;hpb=5e5c8ee949fa45116d58b904fc11aab082f61607;p=palacios.git diff --git a/palacios/include/palacios/vmm_msr.h b/palacios/include/palacios/vmm_msr.h index 87a8a7e..1869e33 100644 --- a/palacios/include/palacios/vmm_msr.h +++ b/palacios/include/palacios/vmm_msr.h @@ -26,6 +26,7 @@ #include #include +#define IA32_PAT_MSR 0x277 #define SYSENTER_CS_MSR 0x00000174 #define SYSENTER_ESP_MSR 0x00000175 #define SYSENTER_EIP_MSR 0x00000176 @@ -93,6 +94,9 @@ int v3_hook_msr(struct v3_vm_info * vm, uint32_t msr, void * priv_data); +int v3_msr_unhandled_read(struct guest_info * core, uint32_t msr, struct v3_msr * dst, void * priv_data); +int v3_msr_unhandled_write(struct guest_info * core, uint32_t msr, struct v3_msr src, void * priv_data); + struct v3_msr_hook * v3_get_msr_hook(struct v3_vm_info * vm, uint32_t msr); void v3_refresh_msr_map(struct v3_vm_info * vm); @@ -100,7 +104,6 @@ void v3_refresh_msr_map(struct v3_vm_info * vm); void v3_print_msr_map(struct v3_vm_info * vm); int v3_handle_msr_write(struct guest_info * info); - int v3_handle_msr_read(struct guest_info * info);