]> git.proxmox.com Git - qemu.git/commit
block: use bdrv_has_zero_init to return BDRV_BLOCK_ZERO
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Sep 2013 17:00:31 +0000 (19:00 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Sep 2013 13:25:09 +0000 (15:25 +0200)
commit415b5b013ce74126e71459b922a92377918ae2ef
tree9d336fd4804aa7eabd41840c9d7f08f53607e8ce
parent4bc74be997a72922170f4f272fd5e8074a3ecc27
block: use bdrv_has_zero_init to return BDRV_BLOCK_ZERO

Alternatively, this could use a "discard zeroes data" flag returned
by bdrv_get_info.

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