aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-07-24 19:12:29 +0200
committerMax Reitz <mreitz@redhat.com>2019-08-19 17:13:26 +0200
commit4d7c487eac1652dfe4498fe84f32900ad461d61b (patch)
tree5f990d40e76ae167306c080e8d9f7126061e17c6 /block.c
parent672de729a1f93d84e7597652b1125ab5d62421d8 (diff)
qemu-img: Fix bdrv_has_zero_init() use in convert
bdrv_has_zero_init() only has meaning for newly created images or image areas. If qemu-img convert did not create the image itself, it cannot rely on bdrv_has_zero_init()'s result to carry any meaning. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20190724171239.8764-2-mreitz@redhat.com Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions