-
- Downloads
xen: modify xenstore watch event interface
Today a Xenstore watch event is delivered via a callback function declared as: void (*callback)(struct xenbus_watch *, const char **vec, unsigned int len); As all watch events only ever come with two parameters (path and token) changing the prototype to: void (*callback)(struct xenbus_watch *, const char *path, const char *token); is the natural thing to do. Apply this change and adapt all users. Cc: konrad.wilk@oracle.com Cc: roger.pau@citrix.com Cc: wei.liu2@citrix.com Cc: paul.durrant@citrix.com Cc: netdev@vger.kernel.org Signed-off-by:Juergen Gross <jgross@suse.com> Reviewed-by:
Paul Durrant <paul.durrant@citrix.com> Reviewed-by:
Wei Liu <wei.liu2@citrix.com> Reviewed-by:
Roger Pau Monné <roger.pau@citrix.com> Reviewed-by:
Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by:
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Showing
- drivers/block/xen-blkback/xenbus.c 3 additions, 3 deletionsdrivers/block/xen-blkback/xenbus.c
- drivers/net/xen-netback/xenbus.c 4 additions, 4 deletionsdrivers/net/xen-netback/xenbus.c
- drivers/xen/cpu_hotplug.c 2 additions, 3 deletionsdrivers/xen/cpu_hotplug.c
- drivers/xen/manage.c 3 additions, 3 deletionsdrivers/xen/manage.c
- drivers/xen/xen-balloon.c 1 addition, 1 deletiondrivers/xen/xen-balloon.c
- drivers/xen/xen-pciback/xenbus.c 1 addition, 1 deletiondrivers/xen/xen-pciback/xenbus.c
- drivers/xen/xenbus/xenbus.h 3 additions, 3 deletionsdrivers/xen/xenbus/xenbus.h
- drivers/xen/xenbus/xenbus_client.c 2 additions, 2 deletionsdrivers/xen/xenbus/xenbus_client.c
- drivers/xen/xenbus/xenbus_dev_frontend.c 8 additions, 13 deletionsdrivers/xen/xenbus/xenbus_dev_frontend.c
- drivers/xen/xenbus/xenbus_probe.c 4 additions, 7 deletionsdrivers/xen/xenbus/xenbus_probe.c
- drivers/xen/xenbus/xenbus_probe_backend.c 4 additions, 4 deletionsdrivers/xen/xenbus/xenbus_probe_backend.c
- drivers/xen/xenbus/xenbus_probe_frontend.c 7 additions, 7 deletionsdrivers/xen/xenbus/xenbus_probe_frontend.c
- drivers/xen/xenbus/xenbus_xs.c 14 additions, 15 deletionsdrivers/xen/xenbus/xenbus_xs.c
- include/xen/xenbus.h 3 additions, 3 deletionsinclude/xen/xenbus.h
Loading
Please register or sign in to comment