]> Git Repo - qemu.git/blobdiff - hw/virtio.h
virtio: move common irqfd handling out of virtio-pci
[qemu.git] / hw / virtio.h
index 294948519c3f42c16e24f631019021450ce0934f..96f4dbb8d98756d62a096e5971d1581730f9dc6f 100644 (file)
@@ -231,6 +231,8 @@ void virtio_queue_set_last_avail_idx(VirtIODevice *vdev, int n, uint16_t idx);
 VirtQueue *virtio_get_queue(VirtIODevice *vdev, int n);
 int virtio_queue_get_id(VirtQueue *vq);
 EventNotifier *virtio_queue_get_guest_notifier(VirtQueue *vq);
+void virtio_queue_set_guest_notifier_fd_handler(VirtQueue *vq, bool assign,
+                                                bool with_irqfd);
 EventNotifier *virtio_queue_get_host_notifier(VirtQueue *vq);
 void virtio_queue_set_host_notifier_fd_handler(VirtQueue *vq, bool assign);
 void virtio_queue_notify_vq(VirtQueue *vq);
This page took 0.020274 seconds and 4 git commands to generate.