commit | 15b2bd1847239fe0b4a1041b69a631741d2e273a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 05 17:16:30 2012 +0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Jul 12 14:08:11 2012 +0300 |
tree | 36b395a7ea3642442e9f45ec4280013ca56ae033 | |
parent | b1f416aa8d870fab71030abc9401cfc77b948e8e [diff] |
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>