diff options
author | Yuri Benditovich | 2020-07-27 16:38:07 +0200 |
---|---|---|
committer | Jason Wang | 2020-07-28 10:54:46 +0200 |
commit | a48aaf882b100b30111b5c7c75e1d9e83fe76cfd (patch) | |
tree | f04cbd8ea2ff425dc936c7923c890fef48ebe1cb /hw/net | |
parent | Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff) | |
download | qemu-a48aaf882b100b30111b5c7c75e1d9e83fe76cfd.tar.gz qemu-a48aaf882b100b30111b5c7c75e1d9e83fe76cfd.tar.xz qemu-a48aaf882b100b30111b5c7c75e1d9e83fe76cfd.zip |
virtio-pci: fix wrong index in virtio_pci_queue_enabled
We should use the index passed by the caller instead of the queue_sel
when checking the enablement of a specific virtqueue.
This is reported in https://bugzilla.redhat.com/show_bug.cgi?id=1702608
Fixes: f19bcdfedd53 ("virtio-pci: implement queue_enabled method")
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions