qemu: xenstore-watch-callbacks
PATCH 1/3 qemu: xenstore-watch-callbacks
Signed-off-by Jean Guyader <[email protected]>
qemu-xen.h +3 -0
@@ -93,6 +93,9 @@ int xenstore_unsubscribe_from_hotplug_status(struct xs_handle *handle,const char *inst, const char *token); +typedef void (*xenstore_callback ) (const char *path,void *opaque); +int xenstore_watch_new_callback (const char *path,xenstore_callback fptr,void *opaque); +/* `danger' means that this parameter, variable or function refers to * an area of xenstore which is writeable by the guest and thus must * not be trusted by qemu code. For variables containing xenstore
xenstore.c +53 -1
71 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel