Re: [Qemu-devel] [PATCH 1/2] vmdk: support vmfsSparse files

2013-08-12 Thread Stefan Hajnoczi
On Mon, Aug 12, 2013 at 1:28 PM, Stefan Hajnoczi wrote: > On Sun, Aug 11, 2013 at 06:13:57PM +0200, Paolo Bonzini wrote: >> @@ -505,6 +505,34 @@ static int vmdk_open_vmdk3(BlockDriverState *bs, >> return ret; >> } >> >> +static int vmdk_open_vmfs_sparse(BlockDriverState *bs, >> +

Re: [Qemu-devel] [PATCH 1/2] vmdk: support vmfsSparse files

2013-08-12 Thread Stefan Hajnoczi
On Sun, Aug 11, 2013 at 06:13:57PM +0200, Paolo Bonzini wrote: > @@ -505,6 +505,34 @@ static int vmdk_open_vmdk3(BlockDriverState *bs, > return ret; > } > > +static int vmdk_open_vmfs_sparse(BlockDriverState *bs, > + BlockDriverState *file, > +

Re: [Qemu-devel] [PATCH 1/2] vmdk: support vmfsSparse files

2013-08-12 Thread Fam Zheng
On Mon, 08/12 03:40, Paolo Bonzini wrote: > > > - Original Message - > > From: "Fam Zheng" > > To: "Paolo Bonzini" > > Cc: qemu-devel@nongnu.org, kw...@redhat.com > > Sent: Monday, August 12, 2013 3:31:44 AM > > Subject: Re: [PATCH 1/2] vmdk: support vmfsSparse files > > > > On Sun, 08

Re: [Qemu-devel] [PATCH 1/2] vmdk: support vmfsSparse files

2013-08-12 Thread Andreas Färber
Am 11.08.2013 18:13, schrieb Paolo Bonzini: > VMware ESX hosts use a variant of the VMDK3 format, identified by the > vmfsSparse create type ad the VMFSSPARSE extent type. "and"? > It has 16 KB grain tables (L2) and a variable-size grain directory (L1). > In addition, the grain size is always 512

Re: [Qemu-devel] [PATCH 1/2] vmdk: support vmfsSparse files

2013-08-12 Thread Paolo Bonzini
- Original Message - > From: "Fam Zheng" > To: "Paolo Bonzini" > Cc: qemu-devel@nongnu.org, kw...@redhat.com > Sent: Monday, August 12, 2013 3:31:44 AM > Subject: Re: [PATCH 1/2] vmdk: support vmfsSparse files > > On Sun, 08/11 18:13, Paolo Bonzini wrote: > > VMware ESX hosts use a var

Re: [Qemu-devel] [PATCH 1/2] vmdk: support vmfsSparse files

2013-08-11 Thread Fam Zheng
On Sun, 08/11 18:13, Paolo Bonzini wrote: > VMware ESX hosts use a variant of the VMDK3 format, identified by the > vmfsSparse create type ad the VMFSSPARSE extent type. > > It has 16 KB grain tables (L2) and a variable-size grain directory (L1). > In addition, the grain size is always 512, but th

[Qemu-devel] [PATCH 1/2] vmdk: support vmfsSparse files

2013-08-11 Thread Paolo Bonzini
VMware ESX hosts use a variant of the VMDK3 format, identified by the vmfsSparse create type ad the VMFSSPARSE extent type. It has 16 KB grain tables (L2) and a variable-size grain directory (L1). In addition, the grain size is always 512, but that is not a problem because it is included in the he