Statistics
| Branch: | Revision:

root / block / vhdx.c @ c3906c5e

History | View | Annotate | Download (33.7 kB)

# Date Author Comment
6e9d290b 11/07/2013 02:58 pm Jeff Cody

block: vhdx - minor comments and typo correction.

Just a couple of minor comments to help note where allocated
buffers are freed, and a typo fix.

Signed-off-by: Jeff Cody <>
Signed-off-by: Stefan Hajnoczi <>

4f18b782 11/07/2013 02:58 pm Jeff Cody

block: vhdx - add header update capability.

This adds the ability to update the headers in a VHDX image, including
generating a new MS-compatible GUID.

As VHDX depends on uuid.h, VHDX is now a configurable build option. If
VHDX support is enabled, that will also enable uuid as well. The...

28541d46 11/07/2013 02:58 pm Jeff Cody

block: vhdx code movement - VHDXMetadataEntries and BDRVVHDXState to header.

In preparation for VHDX log support, move these structures to the
header.

Signed-off-by: Jeff Cody <>
Signed-off-by: Stefan Hajnoczi <>

0f48e8f0 11/07/2013 02:58 pm Jeff Cody

block: vhdx - break endian translation functions out

This moves the endian translation functions out from the vhdx.c source,
into a separate source file. In addition to the previously defined
endian functions, new endian translation functions for log support are...

c3906c5e 11/07/2013 02:58 pm Jeff Cody

block: vhdx - update log guid in header, and first write tracker

Allow tracking of first file write in the VHDX image, as well as
the ability to update the GUID in the header. This is in preparation
for log support.

Signed-off-by: Jeff Cody <>...

5641bf40 10/02/2013 04:24 pm Jeff Cody

block: vhdx - add migration blocker

This blocks migration for VHDX image files, until the
functionality can be supported.

Signed-off-by: Jeff Cody <>
Signed-off-by: Stefan Hajnoczi <>

015a1036 09/12/2013 11:12 am Max Reitz

bdrv: Use "Error" for opening images

Add an Error ** parameter to BlockDriver.bdrv_open and
BlockDriver.bdrv_file_open to allow more specific error messages.

Signed-off-by: Max Reitz <>

e8d4e5ff 05/03/2013 11:31 am Jeff Cody

block: initial VHDX driver support framework - supports open and probe

This is the initial block driver framework for VHDX image support
(i.e. Hyper-V image file formats), that supports opening VHDX files, and
parsing the headers.

This commit does not yet enable:...

059e2fbb 05/03/2013 11:31 am Jeff Cody

block: add read-only support to VHDX image format.

This adds in read-only support to the VHDX image format. This supports
reads for fixed-size, and dynamic sized VHDX images.

Differencing files are still unsupported.

The image must be opened without BDRV_O_RDWR set, because we do not...