qmu-img: fix qemu-img convert to generate a valid image when the source referenced...
commitd032044fb97d525ae93fb4c96713a5c467044c17
authorAkkarit Sangpetch <asangpet@andrew.cmu.edu>
Fri, 17 Jul 2009 08:02:15 +0000 (17 10:02 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Jul 2009 15:58:47 +0000 (22 10:58 -0500)
treeab9dfce18a49b6ac52b98caa02a8a99091f03503
parentb171271a50be01f2690077970fa7e60b8e8eb9d9
qmu-img: fix qemu-img convert to generate a valid image when the source referenced a backing file

Make 'qemu-img convert' copies unallocated parts of the source image
when -B option was not specified.

Signed-off-by: Akkarit Sangpetch <asangpet@andrew.cmu.edu>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-img.c