This patch series contains the initial VHDX log parsing, replay,
and write support.

This will allow an existing log in a VHDX image to be replayed (e.g., a VHDX
image from a Hyper-V host that crashed).  In addition, metadata writes are
enabled through the log.  This allows write support to be enabled for VHDX,
as the BAT can be updated safely via the log journal.

The patches are also available from github, for testing:
https://github.com/codyprime/qemu-kvm-jtc/tree/jtc-vhdx-latest

Jeff Cody (9):
  block: vhdx - minor comments and typo correction.
  block: vhdx - add header update capability.
  block: vhdx code movement - VHDXMetadataEntries and BDRVVHDXState to
    header.
  block: vhdx - log support struct and defines
  block: vhdx - break endian translation functions out
  block: vhdx - update log guid in header, and first write tracker
  block: vhdx - log parsing, replay, and flush support
  block: vhdx - add log write support
  block: vhdx write support

 block/Makefile.objs |    2 +-
 block/vhdx-endian.c |  141 ++++++++
 block/vhdx-log.c    | 1007 +++++++++++++++++++++++++++++++++++++++++++++++++++
 block/vhdx.c        |  394 ++++++++++++++------
 block/vhdx.h        |  110 +++++-
 configure           |   13 +
 6 files changed, 1556 insertions(+), 111 deletions(-)
 create mode 100644 block/vhdx-endian.c
 create mode 100644 block/vhdx-log.c

-- 
1.8.1.4


Reply via email to