]> git.proxmox.com Git - qemu.git/commit
virtio: change set guest notifier to per-device
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 6 Oct 2010 13:20:17 +0000 (15:20 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 7 Oct 2010 10:19:47 +0000 (12:19 +0200)
commit54dd932128ae08d6a5a6668551508e30520b0f86
treef6126186157f59ddb28daffeb3b47001d8bcfdd8
parent010ec6293409f10b88631c36145944b9c3277ce1
virtio: change set guest notifier to per-device

When using irqfd with vhost-net to inject interrupts,
a single evenfd might inject multiple interrupts.
Implementing this is much easier with a single
per-device callback to set guest notifiers.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/vhost.c
hw/virtio-pci.c
hw/virtio.h