]> Git Repo - qemu.git/commit - hw/virtio/virtio.c
virtio: use virtio_bus_set_host_notifier to start/stop ioeventfd
authorPaolo Bonzini <[email protected]>
Fri, 21 Oct 2016 20:48:14 +0000 (22:48 +0200)
committerMichael S. Tsirkin <[email protected]>
Sun, 30 Oct 2016 18:06:21 +0000 (20:06 +0200)
commited08a2a0ba165bfa3d520126eed340c803308321
treeb84e53daba9e6bc08c8c9c6d5b39070f45bc89d8
parente616c2f390634a241f7899ff4c52bed9803103c6
virtio: use virtio_bus_set_host_notifier to start/stop ioeventfd

ioeventfd_disabled was the only reason for the default
implementation of virtio_device_start_ioeventfd not to use
virtio_bus_set_host_notifier.  This is now fixed, and the sole entry
point to set up ioeventfd can be virtio_bus_set_host_notifier.

Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/virtio-bus.c
hw/virtio/virtio.c
include/hw/virtio/virtio-bus.h
This page took 0.026937 seconds and 4 git commands to generate.