From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V23H3-000423-Rj for qemu-devel@nongnu.org; Wed, 24 Jul 2013 13:54:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V23H0-0001MY-4A for qemu-devel@nongnu.org; Wed, 24 Jul 2013 13:54:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V23Gz-0001MQ-Si for qemu-devel@nongnu.org; Wed, 24 Jul 2013 13:54:50 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6OHsmWK031504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 24 Jul 2013 13:54:48 -0400 From: Jeff Cody Date: Wed, 24 Jul 2013 13:54:36 -0400 Message-Id: Subject: [Qemu-devel] [PATCH 0/9] VHDX log replay and write support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com 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