virtio: revert host notifiers to old semantics
commit0830c96d70b24ee76864f4e164b164bb43f24f09
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 30 Jun 2016 15:31:42 +0000 (30 17:31 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Jul 2016 11:52:10 +0000 (4 14:52 +0300)
tree631bd9fa46878e9443eed428fe46fa4d5dc0465b
parent01c9742d9d5a48c55a0155875657944c2159762c
virtio: revert host notifiers to old semantics

The host notifier rework tried both to unify host notifiers across
transports and plug a possible hole during host notifier
re-assignment. Unfortunately, this meant a change in semantics that
breaks vhost and iSCSI+dataplane.

As the minimal fix, keep the common host notifier code but revert
to the old semantics so that we have time to figure out the proper
fix.

Fixes: 6798e245a3 ("virtio-bus: common ioeventfd infrastructure")
Reported-by: Peter Lieven <pl@kamp.de>
Reported-by: Jason Wang <jasowang@redhat.com>
Reported-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Tested-by: Jason Wang <jasowang@redhat.com>
Tested-by: Peter Lieven <pl@kamp.de>
hw/virtio/virtio-bus.c