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