VMDK: create different subformats
authorFam Zheng <famcool@gmail.com>
Tue, 19 Jul 2011 00:45:23 +0000 (08:45 +0800)
committerKevin Wolf <kwolf@redhat.com>
Tue, 19 Jul 2011 13:39:07 +0000 (15:39 +0200)
commitf66fd6c383edc137fa618c250ea40c1936a52f1c
treec986e7c99197254595082a95a8a071ba74ee81b6
parent7fa60fa3778f1c7336d4e91d4055773538609539
VMDK: create different subformats

Add create option 'format', with enums:
    monolithicSparse
    monolithicFlat
    twoGbMaxExtentSparse
    twoGbMaxExtentFlat
Each creates a subformat image file. The default is monolithicSparse.

Signed-off-by: Fam Zheng <famcool@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c
block_int.h