virtio: add AioContext-specific function for host notifiers
commita1afb6062e779804d21b206c854425663a194be2
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 14 Feb 2016 17:17:06 +0000 (14 18:17 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 25 Feb 2016 11:14:18 +0000 (25 13:14 +0200)
tree2b13cced3ab9f6a0698ec222bc7bf126553720f9
parent8b1fe1cedfde53c233c89938fca334ccaab26cff
virtio: add AioContext-specific function for host notifiers

This is used to register ioeventfd with a dataplane thread.

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>
Reviewed-by: Fam Zheng <famz@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/virtio/virtio.c
include/hw/virtio/virtio.h