Skip to content
Snippets Groups Projects
Commit c0469496 authored by Eyal Moscovici's avatar Eyal Moscovici Committed by Eric Blake
Browse files

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: default avatarEric Blake <eblake@redhat.com>
Acked-by: default avatarMark Kanda <mark.kanda@oracle.com>
Co-developed-by: default avatarYoav Elnekave <yoav.elnekave@oracle.com>
Signed-off-by: default avatarYoav Elnekave <yoav.elnekave@oracle.com>
Signed-off-by: default avatarEyal Moscovici <eyal.moscovici@oracle.com>
Message-Id: <20200513133629.18508-5-eyal.moscovici@oracle.com>
Signed-off-by: default avatarEric Blake <eblake@redhat.com>
parent e46c0b18
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment