qmu-img: fix qemu-img convert to generate a valid image when the source referenced...
commitca95814efb88e29a5c33824b7dd1b3218ca22b9d
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 20:41:01 +0000 (22 15:41 -0500)
tree94ac525616421a02d83d2f639b9f782504c5a33c
parente88802852d0e5201e21dad0d773a6bff478594b5
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