]> git.ipfire.org Git - thirdparty/qemu.git/commit
libqos: pass full QVirtQueue to set_queue_address()
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 23 Oct 2019 10:04:20 +0000 (11:04 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 25 Oct 2019 11:46:22 +0000 (07:46 -0400)
commit1e59a866100caf205782334bf7f7a40f28fd23be
tree07eb23c475e1ca2cde4ebd2661ece4fcb2944f8a
parenta32a028aa702d7bcee0cd19a588d04d15a4437e1
libqos: pass full QVirtQueue to set_queue_address()

Instead of just passing the vring page frame number, pass the full
QVirtQueue.  This will allow the VIRTIO 1.0 transport to program the
fine-grained vring address registers in the future.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191023100425.12168-12-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/libqos/virtio-mmio.c
tests/libqos/virtio-pci.c
tests/libqos/virtio.h