diff options
| author | Peter Lieven | 2013-11-27 11:07:01 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-12-05 11:45:24 +0100 |
| commit | 13c28af87a5541a9b09a59502b876a1725fb502d (patch) | |
| tree | 120236eed4d8d6d7bd2333db2a28ca64055a0184 /include/exec/exec-all.h | |
| parent | qemu-nbd: add doc for option -f (diff) | |
| download | qemu-13c28af87a5541a9b09a59502b876a1725fb502d.tar.gz qemu-13c28af87a5541a9b09a59502b876a1725fb502d.tar.xz qemu-13c28af87a5541a9b09a59502b876a1725fb502d.zip | |
qemu-img: add support for skipping zeroes in input during convert
we currently do not check if a sector is allocated during convert.
This means if a sector is unallocated that we allocate a bounce
buffer of zeroes, find out its zero later and do not write it
in the best case. In the worst case this can lead to reading
blocks from a raw device (like iSCSI) altough we could easily
know via get_block_status that they are zero and simply skip them.
This patch also fixes the progress output not being at 100% after
a successful conversion.
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
