qemu-e2k/hw/virtio
Paolo Bonzini b13d396227 virtio: move ioeventfd_started flag to VirtioBusState
This simplifies the code and removes the ioeventfd_started
and ioeventfd_set_started callback.  The only difference is
in how virtio-ccw handles an error---it doesn't disable
ioeventfd forever anymore.  It was the only backend to do
so, and if desired this behavior should be implemented in

virtio-bus.c.

Instead of ioeventfd_started, the ioeventfd_assign callback now
determines whether the virtio bus supports host notifiers.

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>
2016-10-30 19:51:32 +02:00
..
Makefile.objs vhost-vsock: add virtio sockets device 2016-09-10 00:28:08 +03:00
trace-events trace: move hw/virtio/virtio-balloon.c trace points into correct file 2016-09-28 19:17:55 +01:00
vhost-backend.c vhost-vsock: add virtio sockets device 2016-09-10 00:28:08 +03:00
vhost-user.c char: use qemu_chr_fe* functions with CharBackend argument 2016-10-24 15:27:21 +02:00
vhost-vsock.c virtio: cleanup VMSTATE_VIRTIO_DEVICE 2016-10-10 02:21:43 +03:00
vhost.c virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00
virtio-balloon.c virtio/migration: Migrate balloon to VMState 2016-10-30 19:51:31 +02:00
virtio-bus.c virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00
virtio-mmio.c virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00
virtio-pci.c virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00
virtio-pci.h virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00
virtio-rng.c virtio: cleanup VMSTATE_VIRTIO_DEVICE 2016-10-10 02:21:43 +03:00
virtio.c virtio/migration: Add VMStateDescription to VirtioDeviceClass 2016-10-30 19:51:31 +02:00