diff options
author | Paul Durrant | 2019-04-08 17:16:15 +0200 |
---|---|---|
committer | Anthony PERARD | 2019-06-24 11:42:29 +0200 |
commit | c0b336ea19a93801ee2333be525d0473d28a10f8 (patch) | |
tree | d74b1d1fda827ae9e221539e82b07330834a2594 /include/hw/xen/xen-legacy-backend.h | |
parent | xen-block: support feature-large-sector-size (diff) | |
download | qemu-c0b336ea19a93801ee2333be525d0473d28a10f8.tar.gz qemu-c0b336ea19a93801ee2333be525d0473d28a10f8.tar.xz qemu-c0b336ea19a93801ee2333be525d0473d28a10f8.zip |
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>
Diffstat (limited to 'include/hw/xen/xen-legacy-backend.h')
0 files changed, 0 insertions, 0 deletions