[Qemu-devel] [PATCH v6 09/12] VMDK: open/read/write for monolithicFlat image

2011-06-30 Thread Fam Zheng
Parse vmdk decriptor file and open mono flat image. Read/write the flat extent. Signed-off-by: Fam Zheng famc...@gmail.com --- block/vmdk.c | 184 +- 1 files changed, 170 insertions(+), 14 deletions(-) diff --git a/block/vmdk.c

Re: [Qemu-devel] [PATCH v6 09/12] VMDK: open/read/write for monolithicFlat image

2011-06-30 Thread Stefan Hajnoczi
On Fri, Jul 1, 2011 at 5:55 AM, Fam Zheng famc...@gmail.com wrote: +        /* save to extents array */ +        if (!strcmp(type, FLAT)) { +            /* FLAT extent */ +            char extent_path[PATH_MAX]; +            BlockDriverState *extent_file; +            BlockDriver *drv; +