virtio-pci: fill in notifier support
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Mar 2010 11:08:13 +0000 (13:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 1 Apr 2010 18:56:43 +0000 (13:56 -0500)
commit836d037b9e71d83517d46bd53d440823f50c7766
tree175f39beec59b3253ae0fcc9ad0abbc048ca1a1d
parentd9fa16046d8efda6e3319a79645a8d4375ba22cb
virtio-pci: fill in notifier support

Support host/guest notifiers in virtio-pci.
The last one only with kvm, that's okay
because vhost relies on kvm anyway.

Note on kvm usage: kvm ioeventfd API
is implemented on non-kvm systems as well,
this is the reason we don't need if (kvm_enabled())
around it.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c