Re: [Qemu-devel] [PATCH 3/7] block: vhdx header for the QEMU support of VHDX images

2013-03-07 Thread Jeff Cody
On Thu, Mar 07, 2013 at 02:15:42PM +0100, Stefan Hajnoczi wrote: > On Wed, Mar 06, 2013 at 09:47:41AM -0500, Jeff Cody wrote: > > +#define VHDX_ZERO_MGIC 0x6F72657A /* 'zero' */ > > s/MGIC/MAGIC/ > > > +typedef struct QEMU_PACKED vhdx_log_zero_descriptor { > > +uint32_tzero_signature;

Re: [Qemu-devel] [PATCH 3/7] block: vhdx header for the QEMU support of VHDX images

2013-03-07 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 09:47:41AM -0500, Jeff Cody wrote: > +#define VHDX_ZERO_MGIC 0x6F72657A /* 'zero' */ s/MGIC/MAGIC/ > +typedef struct QEMU_PACKED vhdx_log_zero_descriptor { > +uint32_tzero_signature; /* "zero" in ASCII */ > +uint32_treserver; s/reserver/reserved/ ?

[Qemu-devel] [PATCH 3/7] block: vhdx header for the QEMU support of VHDX images

2013-03-06 Thread Jeff Cody
This is based on Microsoft's VHDX specification: "VHDX Format Specification v0.95", published 4/12/2012 https://www.microsoft.com/en-us/download/details.aspx?id=29681 These structures define the various header, metadata, and other block structures defined in the VHDX specification. Signed