X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_msr.h;h=ef66a602deb951c7dcd70208359f80cabb93e087;hb=c016bb46bd68474161e275a5ace086c3fb810d9f;hp=00e1425a2fcffdd41c7088e2c95770707f9aab51;hpb=9b4bfeefac09294a6f0ae12dbadf102eb547f5ec;p=palacios.git 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; + };