Skip to contentSkip to conversation

qemu: xenstore-watch-callbacks

PATCH New Jean Guyader 1 participant 1 message Jul 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 qemu: xenstore-watch-callbacks

qemu-xen.h +3 -0
index 7c8e110..09d0539 100644
@@ -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