]> git.proxmox.com Git - qemu.git/commit
vpc: Implement .bdrv_has_zero_init
authorKevin Wolf <kwolf@redhat.com>
Fri, 28 Jun 2013 08:21:00 +0000 (10:21 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Jun 2013 08:21:00 +0000 (10:21 +0200)
commit72c6cc94daa727f41ecfc2b2ff94aa6f0e459b7f
treed7295d2e5892a43742667f5c7c9286d52da4fa18
parent8ed610a1c983dd2ed1eed8841036af55751d115f
vpc: Implement .bdrv_has_zero_init

Depending on the subformat, has_zero_init on VHD must behave like raw
and query the underlying storage (fixed) or like other sparse formats
that can always return 1 (dynamic, differencing).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vpc.c