| Submitter | Michael S. Tsirkin |
|---|---|
| Date | March 5, 2013, 2:23 p.m. |
| Message ID | <20130305142336.GE2256@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/225051/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index ba56ab2..c2a0c5a 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -800,6 +800,10 @@ static int virtio_pci_set_guest_notifiers(DeviceState *d, int nvqs, bool assign) } } + if (!with_irqfd && proxy->vdev->guest_notifier_mask) { + proxy->vdev->guest_notifier_mask(proxy->vdev, queue_no, !assign); + } + /* Must set vector notifier after guest notifier has been assigned */ if (with_irqfd && assign) { proxy->vector_irqfd =