virtio-mmio: ioeventfd support
commit434027badb421863b85ffdb4769966533c001cfa
authorYing-Shiuan Pan <yingshiuan.pan@gmail.com>
Tue, 12 May 2015 08:10:50 +0000 (12 11:10 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jun 2015 12:18:55 +0000 (1 14:18 +0200)
tree5e8fba6a7f378a8cdd81ebe492f9414427e1583e
parentafcf905cff7971324c2706600ead35a1f41f417a
virtio-mmio: ioeventfd support

set_host_notifier and set_guest_notifiers supported by virtio-mmio now.
Most code copied from virtio-pci.

This makes it possible to use vhost-net with virtio-mmio,
improving performance by about 30%.

The kvm-arm does not yet support irqfd, need to fix the hard-coded part after
kvm-arm gets irqfd support.

Signed-off-by: Ying-Shiuan Pan <yingshiuan.pan@gmail.com>
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-mmio.c