diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2019-10-23 11:04:10 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-10-25 07:46:22 -0400 |
commit | c42bf5f21043c86d50773220998b54ded091f779 (patch) | |
tree | 3e3c6f07ee4c4a52aca51e14f79d350b29a106b7 /hw/core | |
parent | 74b3e46630446568aecb0be1c77c4875d7a52f6d (diff) | |
download | qemu-c42bf5f21043c86d50773220998b54ded091f779.zip qemu-c42bf5f21043c86d50773220998b54ded091f779.tar.gz qemu-c42bf5f21043c86d50773220998b54ded091f779.tar.bz2 |
tests/virtio-blk-test: read config space after feature negotiation
The VIRTIO Configuration Space cannot be accessed before device feature
bits have been read because a driver doesn't know the endianness until
it has checked VIRTIO_F_VERSION_1.
Fix this problem in preparation for VIRTIO 1.0 support.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20191023100425.12168-2-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions