summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorZheyu Ma <zheyuma97@gmail.com>2024-03-20 10:04:42 +0100
committerThomas Huth <thuth@redhat.com>2024-03-25 15:05:59 +0100
commit66e411885a23c96ff73742d06b793fec3ceaebb7 (patch)
treecc100b058b4f59102756c3e8cd0211e901528419 /hw/net/vhost_net.c
parent6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63 (diff)
downloadfocaccia-qemu-66e411885a23c96ff73742d06b793fec3ceaebb7.tar.gz
focaccia-qemu-66e411885a23c96ff73742d06b793fec3ceaebb7.zip
libqos/virtio.c: Correct 'flags' reading in qvirtqueue_kick
In qvirtqueue_kick(), the 'flags' were previously being incorrectly read from
vq->avail instead of the correct vq->used location. This update ensures 'flags'
are read from the correct location as per the virtio standard.

Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20240320090442.267525-1-zheyuma97@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions