X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_direct_paging.h;h=07aec1838e8688d4370c06b35eb00ca3a48392b0;hb=659151a0b655c619f3acbb98a45e9eeb8002a4b3;hp=925a29966a878a8f78db1c0a182cb4ddbeea7e26;hpb=a4fd5bcc79e7cdf9a3bd879294566bff0666ced7;p=palacios.git diff --git a/palacios/include/palacios/vmm_direct_paging.h b/palacios/include/palacios/vmm_direct_paging.h index 925a299..07aec18 100644 --- a/palacios/include/palacios/vmm_direct_paging.h +++ b/palacios/include/palacios/vmm_direct_paging.h @@ -26,6 +26,7 @@ #include #include #include +#include /********************************** @@ -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);