X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_msr.h;fp=palacios%2Finclude%2Fpalacios%2Fvmm_msr.h;h=f494772a370819de224d6da6edefd69e930f6171;hb=fd5d916136c80b7c3f873f51a26b88c2149e622b;hp=053644af76aee75b2d29c4dde827a83f001751b9;hpb=fa3ef2ff5003b7cd27bfe11e970760c940525966;p=palacios.git diff --git a/palacios/include/palacios/vmm_msr.h b/palacios/include/palacios/vmm_msr.h index 053644a..f494772 100644 --- a/palacios/include/palacios/vmm_msr.h +++ b/palacios/include/palacios/vmm_msr.h @@ -47,8 +47,8 @@ typedef struct v3_msr v3_msr_t; struct v3_msr_hook { uint_t msr; - int (*read)(uint_t msr, struct v3_msr * dst, void * priv_data); - int (*write)(uint_t msr, struct v3_msr src, void * priv_data); + int (*read)(struct guest_info * core, uint_t msr, struct v3_msr * dst, void * priv_data); + int (*write)(struct guest_info * core, uint_t msr, struct v3_msr src, void * priv_data); void * priv_data; @@ -74,8 +74,8 @@ void v3_init_msr_map(struct v3_vm_info * vm); int v3_unhook_msr(struct v3_vm_info * vm, uint_t msr); int v3_hook_msr(struct v3_vm_info * vm, uint_t msr, - int (*read)(uint_t msr, struct v3_msr * dst, void * priv_data), - int (*write)(uint_t msr, struct v3_msr src, void * priv_data), + int (*read)(struct guest_info * core, uint_t msr, struct v3_msr * dst, void * priv_data), + int (*write)(struct guest_info * core, uint_t msr, struct v3_msr src, void * priv_data), void * priv_data);