summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Blake2017-04-29 21:14:11 +0200
committerMax Reitz2017-05-11 14:28:05 +0200
commit1bce6b4ce3ba03015bdf16d40c1bbe33d8b6031b (patch)
tree8db89eb24641d01b5a32c8af9456f929fcbfbdd2 /tests
parentblockdev: use drained_begin/end for qmp_block_resize (diff)
downloadqemu-1bce6b4ce3ba03015bdf16d40c1bbe33d8b6031b.tar.gz
qemu-1bce6b4ce3ba03015bdf16d40c1bbe33d8b6031b.tar.xz
qemu-1bce6b4ce3ba03015bdf16d40c1bbe33d8b6031b.zip
qemu-io: Improve alignment checks
Several copy-and-pasted alignment checks exist in qemu-io, which could use some minor improvements: - Manual comparison against 0x1ff is not as clean as using our alignment macros (QEMU_IS_ALIGNED) from osdep.h. - The error messages aren't quite grammatically correct. Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Suggested-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-id: 20170429191419.30051-2-eblake@redhat.com Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions