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.


Missing commit (compilation with memmory tracking off)
[palacios.git] / palacios / include / palacios / vmm_direct_paging.h
index 925a299..07aec18 100644 (file)
@@ -26,6 +26,7 @@
 #include <palacios/vmm_mem.h>
 #include <palacios/vmm_paging.h>
 #include <palacios/vmm_list.h>
+#include <palacios/vmm_lock.h>
  
 
 /**********************************
@@ -37,6 +38,7 @@ struct v3_passthrough_impl_state {
     // currently there is only a single implementation
     // that internally includes SVM and VMX support
     // The externally visible state is just the callbacks
+    v3_rw_lock_t     event_callback_lock;
     struct list_head event_callback_list;
 };
 
@@ -91,7 +93,7 @@ int v3_register_passthrough_paging_event_callback(struct v3_vm_info *vm,
 
 int v3_unregister_passthrough_paging_event_callback(struct v3_vm_info *vm,
                                                    int (*callback)(struct guest_info *core, 
-                                                                   struct v3_passthrough_pg_event,
+                                                                   struct v3_passthrough_pg_event *,
                                                                    void      *priv_data),
                                                    void *priv_data);
 
@@ -106,6 +108,7 @@ struct v3_nested_impl_state {
     // currently there is only a single implementation
     // that internally includes SVM and VMX support
     // The externally visible state is just the callbacks
+    v3_rw_lock_t     event_callback_lock;
     struct list_head event_callback_list;
 };
 
@@ -155,7 +158,7 @@ int v3_register_nested_paging_event_callback(struct v3_vm_info *vm,
 
 int v3_unregister_nested_paging_event_callback(struct v3_vm_info *vm,
                                               int (*callback)(struct guest_info *core, 
-                                                              struct v3_nested_pg_event,
+                                                              struct v3_nested_pg_event *,
                                                               void      *priv_data),
                                               void *priv_data);