Jeff Cody 8adc52336d 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
2.) The log is flushed after each entry

The primary write interface, vhdx_log_write_and_flush(), performs a log
write followed by an immediate flush of the log.

As each log entry sector is a minimum of 4KB, partial sector writes are
filled in with data from the disk write destination.

If the current file log GUID is 0, a new GUID is generated and updated
in the header.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-11-07 13:58:59 +01:00
..
2013-10-11 10:52:54 +02:00
2013-10-11 16:50:00 +02:00
2013-10-11 16:50:00 +02:00
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-10-11 10:52:54 +02:00
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-10-26 13:01:57 +04:00
2013-08-19 15:52:19 +02:00
2013-10-11 10:52:54 +02:00
2013-09-12 10:12:47 +02:00
2013-10-28 17:34:32 +01:00
2013-01-15 10:03:47 +01:00
2013-09-12 10:12:48 +02:00
2013-10-11 10:52:54 +02:00
2013-11-07 13:58:59 +01:00
2013-11-07 13:58:59 +01:00
2013-10-31 14:44:43 +01:00