diff options
author | Paolo Bonzini | 2016-10-21 22:48:07 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2016-10-30 18:51:32 +0100 |
commit | ff4c07df67f098234d9e49850435ccb49b8cbbdc (patch) | |
tree | 52c0cf25041eec19e18dd2d2ef87784bb21e9f11 /hw/s390x/virtio-ccw.c | |
parent | virtio: move ioeventfd_started flag to VirtioBusState (diff) | |
download | qemu-ff4c07df67f098234d9e49850435ccb49b8cbbdc.tar.gz qemu-ff4c07df67f098234d9e49850435ccb49b8cbbdc.tar.xz qemu-ff4c07df67f098234d9e49850435ccb49b8cbbdc.zip |
virtio: add start_ioeventfd and stop_ioeventfd to VirtioDeviceClass
Allow customization of the start and stop of ioeventfd. This will
allow direct start of dataplane without passing through the default
ioeventfd handlers, which in turn allows using the dataplane logic
instead of virtio_add_queue_aio. It will also enable some code
simplification, because the sole entry point to ioeventfd setup
will be virtio_bus_set_host_notifier.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.c')
0 files changed, 0 insertions, 0 deletions