qemu-img: check block status of backing file when converting.
authorRen Kimura <rkx1209dev@gmail.com>
Wed, 27 Apr 2016 16:04:58 +0000 (01:04 +0900)
committerMax Reitz <mreitz@redhat.com>
Thu, 12 May 2016 13:33:23 +0000 (15:33 +0200)
commit263a6f4c3aa9b6cd9f58d1368b318d948156a4e8
tree791196fe0ea31c07a3be25c7fec8b946e748a723
parent9036e87c7437388365a419a5f26445eb7809b941
qemu-img: check block status of backing file when converting.

When converting images, check the block status of its backing file chain
to avoid needlessly reading zeros.

Signed-off-by: Ren Kimura <rkx1209dev@gmail.com>
Message-id: 1461773098-20356-1-git-send-email-rkx1209dev@gmail.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img.c