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>
Loading
Please register or sign in to comment