diff options
author | Stefan Hajnoczi | 2020-10-27 18:35:19 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2020-11-03 22:39:05 +0100 |
commit | 11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1 (patch) | |
tree | 1921ca5271919df715e9dc9d77bde620aea124d6 /disas.c | |
parent | configure: introduce --enable-vhost-user-blk-server (diff) | |
download | qemu-11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1.tar.gz qemu-11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1.tar.xz qemu-11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1.zip |
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 'disas.c')
0 files changed, 0 insertions, 0 deletions