On Wed, Sep 21, 2016 at 03:18:55PM +0200, Paolo Bonzini wrote: > Make virtio_device_start_ioeventfd_impl use the same logic as > dataplane to set up the host notifier. This removes the need > for the set_handler argument in set_host_notifier_internal. > > This is a first step towards using virtio_bus_set_host_notifier > as the sole entry point to set up ioeventfds. At least now > the functions have the same interface, but they still differ > in that virtio_bus_set_host_notifier sets ioeventfd_disabled. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > hw/virtio/virtio-bus.c | 12 +++--------- > hw/virtio/virtio.c | 16 +++++++++++++--- > 2 files changed, 16 insertions(+), 12 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature