summaryrefslogtreecommitdiff
path: root/qemu-img.texi
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-10-11 22:47:20 -0500
committerKevin Wolf <kwolf@redhat.com>2017-10-26 14:45:57 +0200
commitf0a9c18f9e72ab66d3c57c5c3a43137deb534076 (patch)
treee7fbc9eb3ddac92c4751ae3719a4a102647614f8 /qemu-img.texi
parent8cbf74b23cafd1bcee5fdef769f8e94ace43935f (diff)
downloadqemu-f0a9c18f9e72ab66d3c57c5c3a43137deb534076.tar.gz
qemu-io: Relax 'alloc' now that block-status doesn't assert
Previously, the alloc command required that input parameters be sector-aligned and clamped to 32 bits, because the underlying bdrv_is_allocated used a 32-bit parameter and asserted aligned inputs. But now that we have fixed block status to report a 64-bit bytes value, and to properly round requests on behalf of guests, we can pass any values, and can use qemu-io to add coverage that our rounding is correct regardless of the guest alignment constraints. Update iotest 177 to intentionally probe block status at unaligned boundaries as well as with a bytes value that does not map to 32-bit sectors, which also required tweaking the image prep to leave an unallocated portion to the image under test. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.texi')
0 files changed, 0 insertions, 0 deletions