summary refs log tree commit diff stats
path: root/tests/unit/test-string-input-visitor.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2021-02-23 14:46:48 +0000
committerKevin Wolf <kwolf@redhat.com>2021-03-08 14:56:54 +0100
commita4f1542af58fd6ab061e594d4e161f1c8b4a4372 (patch)
treee617271c2d2d43b8ef81097228110756568c3418 /tests/unit/test-string-input-visitor.c
parente1fa7f5591c219a94f039754f6fbe58e757e7af6 (diff)
downloadfocaccia-qemu-a4f1542af58fd6ab061e594d4e161f1c8b4a4372.tar.gz
focaccia-qemu-a4f1542af58fd6ab061e594d4e161f1c8b4a4372.zip
block/export: fix blk_size double byteswap
The config->blk_size field is little-endian. Use the native-endian
blk_size variable to avoid double byteswapping.

Fixes: 11f60f7eaee2630dd6fa0c3a8c49f792e46c4cf1 ("block/export: make vhost-user-blk config space little-endian")
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210223144653.811468-8-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/unit/test-string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions