]> git.proxmox.com Git - qemu.git/commit
block: make bdrv_has_zero_init return false for copy-on-write-images
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Sep 2013 17:00:27 +0000 (19:00 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Sep 2013 13:25:09 +0000 (15:25 +0200)
commit11212d8fa08a4e5bd56bb4f6877f9a4c0439a02b
tree3b8b6048ac67fe76fdc1b279a66e403c3f91098b
parente4a86f88cc6b214c37b4abe9160e41f0338ce4cd
block: make bdrv_has_zero_init return false for copy-on-write-images

This helps implementing is_allocated on top of get_block_status.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
qemu-img.c