qemu-patch-raspberry4/include/hw/xen
Paul Durrant c0b336ea19 xen-bus: use a separate fd for each event channel
To better support use of IOThread-s it will be necessary to be able to set
the AioContext for each XenEventChannel and hence it is necessary to open a
separate handle to libxenevtchan for each channel.

This patch stops using NotifierList for event channel callbacks, replacing
that construct by a list of complete XenEventChannel structures. Each of
these now has a xenevtchn_handle pointer in place of the single pointer
previously held in the XenDevice structure. The individual handles are
opened/closed in xen_device_bind/unbind_event_channel(), replacing the
single open/close in xen_device_realize/unrealize().

NOTE: This patch does not add an AioContext parameter to
      xen_device_bind_event_channel(). That will be done in a subsequent
      patch.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20190408151617.13025-2-paul.durrant@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
2019-06-24 10:42:29 +01:00
..
io Clean up a few header guard symbols 2019-06-12 13:20:20 +02: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-bus: use a separate fd for each event channel 2019-06-24 10:42:29 +01:00
xen-legacy-backend.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
xen.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
xen_common.h Remove broken Xen PV domain builder 2019-01-14 13:45:40 +00:00
xen_pvdev.h xen: re-name XenDevice to XenLegacyDevice... 2019-01-14 13:45:40 +00:00