History | View | Annotate | Download (43 kB)
block: vhdx - add region overlap detection for image files
Regions in the image file cannot overlap - the log, region tables,and metdata must all be unique and non-overlapping.
This adds region checking by means of a QLIST; there can be a variablenumber of regions and metadata (there may be metadata or region tables...
block: vhdx write support
This adds support for writing to VHDX image files, using coroutines.Writes into the BAT table goes through the VHDX log. Currently, BATtable writes occur when expanding a dynamic VHDX file, and allocating anew BAT entry.
Signed-off-by: Jeff Cody <jcody@redhat.com>...
block: vhdx - minor comments and typo correction.
Just a couple of minor comments to help note where allocatedbuffers are freed, and a typo fix.
Signed-off-by: Jeff Cody <jcody@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block: vhdx - add header update capability.
This adds the ability to update the headers in a VHDX image, includinggenerating a new MS-compatible GUID.
As VHDX depends on uuid.h, VHDX is now a configurable build option. IfVHDX support is enabled, that will also enable uuid as well. The...
block: vhdx code movement - VHDXMetadataEntries and BDRVVHDXState to header.
In preparation for VHDX log support, move these structures to theheader.
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 definedendian functions, new endian translation functions for log support are...
block: vhdx - update log guid in header, and first write tracker
Allow tracking of first file write in the VHDX image, as well asthe ability to update the GUID in the header. This is in preparationfor log support.
block: vhdx code movement - move vhdx_close() above vhdx_open()
block: vhdx - log parsing, replay, and flush support
This adds support for VHDX v0 logs, as specified in Microsoft'sVHDX Specification Format v1.00:https://www.microsoft.com/en-us/download/details.aspx?id=34750
The following support is added:
block: vhdx - add migration blocker
This blocks migration for VHDX image files, until thefunctionality can be supported.
bdrv: Use "Error" for opening images
Add an Error ** parameter to BlockDriver.bdrv_open andBlockDriver.bdrv_file_open to allow more specific error messages.
Signed-off-by: Max Reitz <mreitz@redhat.com>
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, andparsing the headers.
This commit does not yet enable:...
block: add read-only support to VHDX image format.
This adds in read-only support to the VHDX image format. This supportsreads 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...