diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-27 17:35:19 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-11-03 16:39:05 -0500 |
commit | 11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1 (patch) | |
tree | 1921ca5271919df715e9dc9d77bde620aea124d6 /hw/core | |
parent | bc15e44cb2191bbb2318878acdf5038134e56394 (diff) | |
download | qemu-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')
0 files changed, 0 insertions, 0 deletions