diff options
author | Peter Maydell | 2016-06-16 18:06:17 +0200 |
---|---|---|
committer | Max Reitz | 2016-07-05 16:54:04 +0200 |
commit | f1f7a1ddf38f4261058c604c32c488a0b7af9814 (patch) | |
tree | 85b56569daeadaa1a924bb99263b4217b0e91fe3 /tests/test-qmp-output-visitor.c | |
parent | block: Convert bdrv_co_preadv/pwritev to BdrvChild (diff) | |
download | qemu-f1f7a1ddf38f4261058c604c32c488a0b7af9814.tar.gz qemu-f1f7a1ddf38f4261058c604c32c488a0b7af9814.tar.xz qemu-f1f7a1ddf38f4261058c604c32c488a0b7af9814.zip |
block/qcow2: Don't use cpu_to_*w()
Don't use the cpu_to_*w() functions, which we are trying to deprecate.
Instead either just use cpu_to_*() to do the byteswap, or use
st*_be_p() if we need to do the store somewhere other than to a
variable that's already the correct type.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1466093177-17890-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/test-qmp-output-visitor.c')
0 files changed, 0 insertions, 0 deletions