]> git.proxmox.com Git - qemu.git/commit
virtio: move common irqfd handling out of virtio-pci
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Jul 2012 15:16:30 +0000 (17:16 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 12 Jul 2012 11:08:11 +0000 (14:08 +0300)
commit15b2bd1847239fe0b4a1041b69a631741d2e273a
tree36b395a7ea3642442e9f45ec4280013ca56ae033
parentb1f416aa8d870fab71030abc9401cfc77b948e8e
virtio: move common irqfd handling out of virtio-pci

All transports can use the same event handler for the irqfd, though the
exact mechanics of the assignment will be specific.  Note that there
are three states: handled by the kernel, handled in userspace, disabled.

This also lets virtio use event_notifier_set_handler.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/virtio-pci.c
hw/virtio.c
hw/virtio.h
kvm-all.c
kvm-stub.c
kvm.h