aboutsummaryrefslogtreecommitdiff
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2020-10-27 17:35:19 +0000
committerMichael S. Tsirkin <mst@redhat.com>2020-11-03 16:39:05 -0500
commit11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1 (patch)
tree1921ca5271919df715e9dc9d77bde620aea124d6 /hw/core/loader.c
parentbc15e44cb2191bbb2318878acdf5038134e56394 (diff)
downloadqemu-11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1.zip
qemu-11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1.tar.gz
qemu-11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1.tar.bz2
block/export: make vhost-user-blk config space little-endian
VIRTIO 1.0 devices have little-endian configuration space. The vhost-user-blk-server.c code already uses little-endian for virtqueue processing but not for the configuration space fields. Fix this so the vhost-user-blk export works on big-endian hosts. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20201027173528.213464-4-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/loader.c')
0 files changed, 0 insertions, 0 deletions