Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added per core structure to MSR/MEM hooks
[palacios.git] / palacios / include / palacios / vmm_msr.h
index 053644a..f494772 100644 (file)
@@ -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);