Re: [Qemu-devel] [PATCH 7/7] block: add write support for VHDX images

2013-03-07 Thread Jeff Cody
On Thu, Mar 07, 2013 at 04:59:05PM +0100, Stefan Hajnoczi wrote: > On Wed, Mar 06, 2013 at 09:48:43AM -0500, Jeff Cody wrote: > > @@ -958,12 +960,150 @@ exit: > > return ret; > > } > > > > +/* > > + * Allocate a new payload block at the end of the file. > > + * > > + * Allocation will happe

Re: [Qemu-devel] [PATCH 7/7] block: add write support for VHDX images

2013-03-07 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 09:48:43AM -0500, Jeff Cody wrote: > @@ -958,12 +960,150 @@ exit: > return ret; > } > > +/* > + * Allocate a new payload block at the end of the file. > + * > + * Allocation will happen at 1MB alignment inside the file > + * > + * Returns the file offset start of the

[Qemu-devel] [PATCH 7/7] block: add write support for VHDX images

2013-03-06 Thread Jeff Cody
This adds in write support for VHDX images. This supports writing to both dynamic and fixed VHDX images. Differencing images are still unsupported. Signed-off-by: Jeff Cody --- block/vhdx.c | 144 ++- 1 file changed, 142 insertions(+), 2