aboutsummaryrefslogtreecommitdiff
path: root/hw/core/vm-change-state-handler.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-10-23 11:04:10 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-10-25 07:46:22 -0400
commitc42bf5f21043c86d50773220998b54ded091f779 (patch)
tree3e3c6f07ee4c4a52aca51e14f79d350b29a106b7 /hw/core/vm-change-state-handler.c
parent74b3e46630446568aecb0be1c77c4875d7a52f6d (diff)
downloadqemu-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/vm-change-state-handler.c')
0 files changed, 0 insertions, 0 deletions