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

2011-06-27 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 8:00 AM, Fam Zheng wrote: > On Mon, Jun 27, 2011 at 12:54 PM, Stefan Hajnoczi wrote: >> On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: >>> Parse vmdk decriptor file and open mono flat image. >>> @@ -598,6 +600,154 @@ static int vmdk_open_vmdk4(BlockDriverState *bs, int

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

2011-06-27 Thread Fam Zheng
On Mon, Jun 27, 2011 at 12:54 PM, Stefan Hajnoczi wrote: > On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: >> Parse vmdk decriptor file and open mono flat image. >> @@ -598,6 +600,154 @@ static int vmdk_open_vmdk4(BlockDriverState *bs, int >> flags) >>     return ret; >>  } >> >> +/* find an o

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

2011-06-26 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: > Parse vmdk decriptor file and open mono flat image. > @@ -598,6 +600,154 @@ static int vmdk_open_vmdk4(BlockDriverState *bs, int > flags) >     return ret; >  } > > +/* find an option value out of descriptor file */ > +static int vmdk_parse_desc

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

2011-06-26 Thread Fam Zheng
Parse vmdk decriptor file and open mono flat image. Read/write the flat extent. Signed-off-by: Fam Zheng --- block/vmdk.c | 182 + 1 files changed, 169 insertions(+), 13 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index c5a02b3.