diff options
author | Peter Lieven <pl@kamp.de> | 2017-04-21 11:11:55 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-04-27 15:39:49 +0200 |
commit | 9fd77f997208c0c98cbd8ec522e34fd2103f5d30 (patch) | |
tree | 6aa01f8df1f7fe554240fcc6b0ce8a473bb9d820 /backends | |
parent | 362b3786ebd1f97737783b53de056265efa9e870 (diff) |
qemu-img: simplify img_convert
img_convert has been around before there was an ImgConvertState or
a block backend, but it has never been modified to directly use
these structs. Change this by parsing parameters directly into
the ImgConvertState and directly use BlockBackend where possible.
Furthermore variable initialization has been reworked and sorted.
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions