Cindy Lu
bf1d85c166
virtio: introduce macro IRTIO_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: <20211104164827.21911-2-lulu@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-01-06 06:11:39 -05:00
..
2021-08-02 12:19:18 +08:00
2021-03-31 11:10:50 +11:00
2021-07-14 14:15:52 +01:00
2020-03-31 21:14:35 +08:00
2021-12-30 17:16:32 +01:00
2021-03-15 16:41:22 +08:00
2021-07-11 22:29:54 +02:00
2017-09-08 08:17:37 +08:00
2021-11-05 11:31:42 +08:00
2021-08-02 12:19:18 +08:00
2020-11-15 16:45:49 +01:00
2021-08-02 12:19:18 +08:00
2020-11-15 16:45:49 +01:00
2020-11-15 16:45:49 +01:00
2021-12-31 01:05:27 +01:00
2020-09-18 14:12:32 -04:00
2021-12-30 17:16:32 +01:00
2021-05-02 17:24:50 +02:00
2020-03-31 21:14:35 +08:00
2021-12-30 17:16:32 +01:00
2020-09-30 19:11:37 +02:00
2021-03-15 16:41:22 +08:00
2020-05-15 07:08:14 +02:00
2021-05-02 17:24:50 +02:00
2020-08-27 14:04:54 -04:00
2021-05-12 18:20:25 +02:00
2020-09-18 14:12:32 -04:00
2021-05-02 17:24:51 +02:00
2020-09-18 14:12:32 -04:00
2020-05-15 07:08:14 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2020-03-03 18:04:47 +08:00
2020-03-03 18:04:47 +08:00
2021-07-19 09:33:39 +02:00
2020-07-21 21:30:39 +08:00
2021-12-30 17:16:32 +01:00
2020-09-18 14:12:32 -04:00
2021-01-08 15:13:38 +00:00
2021-03-15 16:41:22 +08:00
2020-01-07 17:24:29 +04:00
2021-03-15 16:41:22 +08:00
2020-09-18 14:12:32 -04:00
2021-05-02 17:24:51 +02:00
2020-09-18 14:12:32 -04:00
2021-03-15 16:41:22 +08:00
2020-09-18 14:12:32 -04:00
2021-07-02 17:35:08 +02:00
2020-08-21 06:18:24 -04:00
2021-12-31 01:05:27 +01:00
2020-09-18 14:12:32 -04:00
2021-10-20 04:44:05 -04:00
2021-11-11 03:13:05 -05:00
2022-01-06 06:11:39 -05:00
2017-11-20 11:08:00 +08:00
2020-09-09 09:27:09 -04:00
2021-11-19 11:43:47 +08:00
2017-11-20 11:08:00 +08:00
2016-07-12 16:20:46 +02:00
2021-04-08 17:33:59 +08:00
2021-05-02 17:24:50 +02:00
2020-12-10 12:15:04 -05:00
2020-09-09 09:27:09 -04:00