X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_msr.h;h=ef66a602deb951c7dcd70208359f80cabb93e087;hp=00e1425a2fcffdd41c7088e2c95770707f9aab51;hb=29e825c5f095066bbb5ebbec5a5af1419d883264;hpb=6d57b915c82345c4dfb1897209f4778b4548bc31 diff --git a/palacios/include/palacios/vmm_msr.h b/palacios/include/palacios/vmm_msr.h index 00e1425..ef66a60 100644 --- a/palacios/include/palacios/vmm_msr.h +++ b/palacios/include/palacios/vmm_msr.h @@ -28,6 +28,7 @@ struct guest_info; + struct v3_msr { union { @@ -41,7 +42,6 @@ struct v3_msr { } __attribute__((packed)); - typedef struct v3_msr v3_msr_t; struct v3_msr_hook { @@ -62,6 +62,10 @@ struct v3_msr_hook; struct v3_msr_map { uint_t num_hooks; struct list_head hook_list; + + int (*update_map)(struct guest_info * info, uint_t msr, int hook_read, int hook_write); + void * arch_data; + };