qemu-patch-raspberry4/include/hw/xen
Paul Durrant 374752a26b xen / notify: introduce a new XenWatchList abstraction
Xenstore watch call-backs are already abstracted away from XenBus using
the XenWatch data structure but the associated NotifierList manipulation
and file handle registration is still open coded in various xen_bus_...()
functions.
This patch creates a new XenWatchList data structure to allow these
interactions to be abstracted away from XenBus as well. This is in
preparation for a subsequent patch which will introduce separate watch lists
for XenBus and XenDevice objects.

NOTE: This patch also introduces a new notifier_list_empty() helper function
      for the purposes of adding an assertion that a XenWatchList is not
      freed whilst its associated NotifierList is still occupied.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony Perard <anthony.perard@citrix.com>
Message-Id: <20190913082159.31338-2-paul.durrant@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
2019-09-24 12:18:47 +01:00
..
interface xen: Fix ring.h header 2019-08-27 14:18:28 +01:00
start_info.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
xen-backend.h xen: add a mechanism to automatically create XenDevice-s... 2019-01-14 13:45:40 +00:00
xen-block.h xen: automatically create XenBlockDevice-s 2019-01-14 13:45:40 +00:00
xen-bus-helper.h xen: add xenstore watcher infrastructure 2019-01-14 13:45:40 +00:00
xen-bus.h xen / notify: introduce a new XenWatchList abstraction 2019-09-24 12:18:47 +01:00
xen-legacy-backend.h Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
xen.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
xen_common.h Include qemu/queue.h slightly less 2019-08-16 13:31:52 +02:00
xen_pvdev.h xen: re-name XenDevice to XenLegacyDevice... 2019-01-14 13:45:40 +00:00