]> git.proxmox.com Git - qemu.git/commit - block/vmdk.c
vmdk: Add option to create zeroed-grain image
authorFam Zheng <famz@redhat.com>
Thu, 2 May 2013 02:25:24 +0000 (10:25 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 3 May 2013 08:33:41 +0000 (10:33 +0200)
commit69e0b6dfa455924842bfcbfa810fde34899f1350
tree356f7a65a6b1bdd074300a07e1b2edc3534396f4
parent14ead646fe7d5163c342ebd1e0aeb556ecf343a1
vmdk: Add option to create zeroed-grain image

Add image create option "zeroed-grain" to enable zeroed-grain GTE
feature of vmdk sparse extents. When this option is on, header version
of newly created extent will be 2 and VMDK4_FLAG_ZERO_GRAIN flag bit
will be set.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/vmdk.c