aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2017-04-21 11:11:55 +0200
committerKevin Wolf <kwolf@redhat.com>2017-04-27 15:39:49 +0200
commit9fd77f997208c0c98cbd8ec522e34fd2103f5d30 (patch)
tree6aa01f8df1f7fe554240fcc6b0ce8a473bb9d820 /tests/tcg
parent362b3786ebd1f97737783b53de056265efa9e870 (diff)
downloadqemu-9fd77f997208c0c98cbd8ec522e34fd2103f5d30.zip
qemu-9fd77f997208c0c98cbd8ec522e34fd2103f5d30.tar.gz
qemu-9fd77f997208c0c98cbd8ec522e34fd2103f5d30.tar.bz2
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 'tests/tcg')
0 files changed, 0 insertions, 0 deletions