aboutsummaryrefslogtreecommitdiff
path: root/tests/qos-test.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-10-23 11:04:14 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-10-25 07:46:22 -0400
commit36d27d2120979db239230bb440c03d41dbe75165 (patch)
tree7db013100a2b661d830d08991689e6bad469658d /tests/qos-test.c
parente73255be96bf435fe6bf9a5c196dcd7c76adb0da (diff)
downloadqemu-36d27d2120979db239230bb440c03d41dbe75165.zip
qemu-36d27d2120979db239230bb440c03d41dbe75165.tar.gz
qemu-36d27d2120979db239230bb440c03d41dbe75165.tar.bz2
tests/virtio-blk-test: set up virtqueue after feature negotiation
VIRTIO Device Initialization requires that feature negotiation has completed before virtqueues are set up. This makes sense because the driver must know whether it is operating in Legacy or VIRTIO 1.0 mode before it can access vring fields with the correct endianness. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20191023100425.12168-6-stefanha@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/qos-test.c')
0 files changed, 0 insertions, 0 deletions