diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-06-26 13:23:24 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-15 15:07:13 +0200 |
commit | d739f1c41094141268a33fa8fc6715fbab714fbe (patch) | |
tree | 1de90d2d814defc31f6832854896e841b7232933 /docs | |
parent | 75d3d21f9ed9fc66a56d4d7cf491d504541fc6ac (diff) |
qemu-img: Make img_convert() get image size just once per image
Chiefly so I don't have to do the error checking in quadruplicate in
the next commit. Moreover, replacing the frequently updated
bs_sectors by an array assigned just once makes the code easier to
understand.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions