Files
qemu/hw/display
Cindy Lu 544f0278af virtio: introduce macro VIRTIO_CONFIG_IRQ_IDX
To support configure interrupt for vhost-vdpa
Introduce VIRTIO_CONFIG_IRQ_IDX -1 as configure interrupt's queue index,
Then we can reuse the functions guest_notifier_mask and guest_notifier_pending.
Add the check of queue index in these drivers, if the driver does not support
configure interrupt, the function will just return

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20221222070451.936503-2-lulu@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-01-08 01:54:22 -05:00
..
2022-11-08 10:23:32 +01:00
2022-12-03 22:07:07 +01:00
2022-11-08 10:23:32 +01:00
2022-11-08 10:23:32 +01:00
2020-05-18 15:43:51 +02:00
2022-06-30 09:21:14 +02:00
2022-06-30 09:21:14 +02:00
2022-11-08 10:23:32 +01:00
2022-11-10 10:17:18 -05:00
2022-11-08 10:23:32 +01:00