diff options
| author | 2026-06-29 11:35:38 +0800 | |
|---|---|---|
| committer | 2026-08-19 06:38:45 -0400 | |
| commit | dc3f1eef9ab678c396baf5df12aba61db061aa8c (patch) | |
| tree | 809c5761924de88ebad41ebca8c5b0a884e9c022 /scripts/Makefile.thinlto | |
| parent | virtio_mem: fix hardcoded 'vm' variable in bbm iteration macros (diff) | |
virtio_pci: fix wrong queue index for admin vq in intx path
In vp_find_vqs_intx(), the admin vq was set up using the local
queue_idx counter instead of avq->vq_index (the actual queue index
obtained from the device). This differs from vp_find_vqs_msix() which
correctly uses avq->vq_index. Using the wrong index causes the admin
virtqueue to be mapped to an incorrect hardware queue.
Fix it by using avq->vq_index consistent with the msix path.
Fixes: af22bbe1f4a5 ("virtio: create admin queues alongside other virtqueues")
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Message-ID: <20260629033538.2476-1-lirongqing@baidu.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
