Re: [PATCH v17 01/10] virtio: introduce macro VIRTIO_CONFIG_IRQ_IDX

2022-10-28 Thread Michael S. Tsirkin
On Fri, Oct 28, 2022 at 03:54:49PM +0800, Cindy Lu wrote: > 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

[PATCH v17 01/10] virtio: introduce macro VIRTIO_CONFIG_IRQ_IDX

2022-10-28 Thread Cindy Lu
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, t