• M
    virtio-pci: don't poll masked vectors · 89d62be9
    Michael S. Tsirkin 提交于
    At the moment, when irqfd is in use but a vector is masked,
    qemu will poll it and handle vector masks in userspace.
    Since almost no one ever looks at the pending bits,
    it is better to defer this until pending bits
    are actually read.
    Implement this optimization using the new poll notifier.
    Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
    89d62be9
virtio-pci.c 36.3 KB