Re: [Qemu-devel] [PATCH] vmdk: Implement .bdrv_has_zero_init

2013-07-01 Thread Stefan Hajnoczi
On Mon, Jul 01, 2013 at 11:33:17AM +0800, Fam Zheng wrote: > Depending on the subformat, has_zero_init queries underlying storage for > flat extent. If it has a flat extent and its underlying storage doesn't > have zero init, return 0. Otherwise return 1. > > Aligns the operator assignments. > >

[Qemu-devel] [PATCH] vmdk: Implement .bdrv_has_zero_init

2013-06-30 Thread Fam Zheng
Depending on the subformat, has_zero_init queries underlying storage for flat extent. If it has a flat extent and its underlying storage doesn't have zero init, return 0. Otherwise return 1. Aligns the operator assignments. Signed-off-by: Fam Zheng --- block/vmdk.c | 48