Re: [Qemu-devel] [PATCH 11/12] VMDK: vmdk_create and options for mono flat image
On Sat, Jun 4, 2011 at 1:44 AM, Fam Zheng wrote: > + if (flat) { The flat and !flat cases are too big, please split them out into functions. > + const char desc_template[] = > + "# Disk DescriptorFile\n" > + "version=1\n" > + "CID=%x\n" > + "parentCID=ff
[Qemu-devel] [PATCH 11/12] VMDK: vmdk_create and options for mono flat image
A flag is added, as there are basically two extent type: SPARSE and FLAT, this flat can be used in future subformats too. Create vmdk mono flat image with `qemu-img create -o flat`. Signed-off-by: Fam Zheng --- block/vmdk.c | 297 -- block