commit | 415b5b013ce74126e71459b922a92377918ae2ef | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Sep 04 19:00:31 2013 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Sep 06 15:25:09 2013 +0200 |
tree | 9d336fd4804aa7eabd41840c9d7f08f53607e8ce | |
parent | 4bc74be997a72922170f4f272fd5e8074a3ecc27 [diff] |
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>