Statistics
| Branch: | Revision:

root / block @ 1e74a971

Name Size
Makefile.objs 954 Bytes
backup.c 11.8 kB
blkdebug.c 17.7 kB
blkverify.c 12 kB
bochs.c 7.1 kB
cloop.c 5.9 kB
commit.c 7.3 kB
cow.c 11.1 kB
curl.c 18.5 kB
dmg.c 10.4 kB
gluster.c 19.1 kB
iscsi.c 42.5 kB
linux-aio.c 5.2 kB
mirror.c 18.8 kB
nbd.c 18.8 kB
parallels.c 4.9 kB
qapi.c 20.4 kB
qcow.c 28.4 kB
qcow2-cache.c 8.6 kB
qcow2-cluster.c 54.1 kB
qcow2-refcount.c 58.7 kB
qcow2-snapshot.c 20.8 kB
qcow2.c 70.1 kB
qcow2.h 16.3 kB
qed-check.c 6.5 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.9 kB
qed-table.c 8.4 kB
qed.c 46.8 kB
qed.h 10.8 kB
raw-aio.h 1.6 kB
raw-posix.c 52 kB
raw-win32.c 17.5 kB
raw_bsd.c 6 kB
rbd.c 26.7 kB
sheepdog.c 67.2 kB
snapshot.c 8.4 kB
ssh.c 29.1 kB
stream.c 6.9 kB
vdi.c 25.2 kB
vhdx-endian.c 5.2 kB
vhdx-log.c 28.4 kB
vhdx.c 43.2 kB
vhdx.h 18.4 kB
vmdk.c 58.1 kB
vpc.c 24.4 kB
vvfat.c 84.7 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
1a848fd4 11/07/2013 02:58 pm Jeff Cody

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 variable
number of regions and metadata (there may be metadata or region tables...

8adc5233 11/07/2013 02:58 pm Jeff Cody

block: vhdx - add log write support

This adds support for writing to the VHDX log.

For spec details, see VHDX Specification Format v1.00:
https://www.microsoft.com/en-us/download/details.aspx?id=34750

There are a few limitations to this log support:
1.) There is no caching yet...

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

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, BAT
table writes occur when expanding a dynamic VHDX file, and allocating a
new BAT entry.

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

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

block: vhdx - remove BAT file offset bit shifting

Bit shifting can be fun, but in this case it was unnecessary. The
upper 44 bits of the 64-bit BAT entry is specifies the File Offset,
so we shifted the bits to get access to the value.

However, per the spec the value is in MB. So we dutifully shifted back...

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

block: vhdx - move more endian translations to vhdx-endian.c

In preparation for vhdx_create(), move more endian translation
functions out to vhdx-endian.c.

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

1e74a971 11/07/2013 02:58 pm Jeff Cody

block: vhdx - break out code operations to functions

This is preperation for vhdx_create(). The ability to write headers,
and calculate the number of BAT entries will be needed within the
create() functions, so move this relevant code into helper functions....

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 <>...

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

block: vhdx code movement - move vhdx_close() above vhdx_open()

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

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

block: vhdx - log parsing, replay, and flush support

This adds support for VHDX v0 logs, as specified in Microsoft's
VHDX Specification Format v1.00:
https://www.microsoft.com/en-us/download/details.aspx?id=34750

The following support is added:

  • Log parsing, and validation - validate that an existing log...

View revisions

Also available in: Atom