]> Git Repo - qemu.git/commit - block/vmdk.c
vmdk: Implement .bdrv_has_zero_init
authorFam Zheng <[email protected]>
Mon, 1 Jul 2013 03:33:17 +0000 (11:33 +0800)
committerStefan Hajnoczi <[email protected]>
Fri, 5 Jul 2013 07:40:18 +0000 (09:40 +0200)
commitda7a50f938516d0f2302965eeb82940c32028ed8
tree064a48dd12a7ae4bff59db2356db66b71fd64440
parentab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf
vmdk: Implement .bdrv_has_zero_init

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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/vmdk.c
This page took 0.024168 seconds and 4 git commands to generate.