]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: Add --start-offset and --max-length to map
authorEyal Moscovici <eyal.moscovici@oracle.com>
Wed, 13 May 2020 13:36:29 +0000 (16:36 +0300)
committerEric Blake <eblake@redhat.com>
Mon, 18 May 2020 16:02:05 +0000 (11:02 -0500)
commitc0469496b32910a6a092d5b614efbf4088b13a29
tree99e8482168bbb8ec2448c338db2bebe08780c2a9
parente46c0b18cfd02195a0d527ca73f3ed9f3ce5eacb
qemu-img: Add --start-offset and --max-length to map

The mapping operation of large disks especially ones stored over a
long chain of QCOW2 files can take a long time to finish.
Additionally when mapping fails there was no way recover by
restarting the mapping from the failed location.

The new options, --start-offset and --max-length allows the user to
divide these type of map operations into shorter independent tasks.

Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Mark Kanda <mark.kanda@oracle.com>
Co-developed-by: Yoav Elnekave <yoav.elnekave@oracle.com>
Signed-off-by: Yoav Elnekave <yoav.elnekave@oracle.com>
Signed-off-by: Eyal Moscovici <eyal.moscovici@oracle.com>
Message-Id: <20200513133629.18508-5-eyal.moscovici@oracle.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
docs/tools/qemu-img.rst
qemu-img-cmds.hx
qemu-img.c