diff options
author | Max Reitz <mreitz@redhat.com> | 2019-07-24 19:12:29 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2019-08-19 17:13:26 +0200 |
commit | 4d7c487eac1652dfe4498fe84f32900ad461d61b (patch) | |
tree | 5f990d40e76ae167306c080e8d9f7126061e17c6 /tests/test-block-iothread.c | |
parent | 672de729a1f93d84e7597652b1125ab5d62421d8 (diff) | |
download | qemu-4d7c487eac1652dfe4498fe84f32900ad461d61b.zip qemu-4d7c487eac1652dfe4498fe84f32900ad461d61b.tar.gz qemu-4d7c487eac1652dfe4498fe84f32900ad461d61b.tar.bz2 |
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 'tests/test-block-iothread.c')
0 files changed, 0 insertions, 0 deletions