On Mon, 10 Oct 2016 13:53:38 +0200 Paolo Bonzini <pbonz...@redhat.com> wrote:
> Now that there is not anymore a switch from the generic ioeventfd handler > to the dataplane handler, virtio_bus_set_host_notifier(assign=true) is > always called with !bus->ioeventfd_started, hence virtio_bus_stop_ioeventfd > does nothing in this case. Move the invocation to vhost.c, which is the > only place that needs it. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > hw/virtio/vhost.c | 3 +++ > hw/virtio/virtio-bus.c | 23 ++++++++--------------- > include/hw/virtio/virtio-bus.h | 6 ------ > 3 files changed, 11 insertions(+), 21 deletions(-) Reviewed-by: Cornelia Huck <cornelia.h...@de.ibm.com>