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 =
