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.


updated IO and MSRs to allow hooking/unhooking dynamic at runtime
[palacios.git] / palacios / include / palacios / vmm_msr.h
index 00e1425..ef66a60 100644 (file)
@@ -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;
+
 };