From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDFcK-0000Go-Lq for qemu-devel@nongnu.org; Wed, 06 Mar 2013 09:47:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDFcB-0002A6-H1 for qemu-devel@nongnu.org; Wed, 06 Mar 2013 09:46:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDFcB-00029o-3f for qemu-devel@nongnu.org; Wed, 06 Mar 2013 09:46:43 -0500 From: Jeff Cody Date: Wed, 6 Mar 2013 09:46:39 -0500 Message-Id: Subject: [Qemu-devel] [PATCH 0/7] Initial VHDX support (and a bug fix for QCOW) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, sw@weilnetz.de, stefanha@redhat.com Note: Patch 1/7 is a bug fix for QCOW, that is also needed for VHDX This adds the initial support for VHDX image files. It supports both read and write operations, across fixed and dynamic files. Notably, the following is not yet supported: * Differencing files * Log replay (so we will refuse to open any images that are not 'clean') * .bdrv_create() This series, and additional work to add in the above features, may be found at: https://github.com/codyprime/qemu-kvm-jtc/tree/jtc-vhdx-v1 git://github.com/codyprime/qemu-kvm-jtc.git, branch jtc-vhdx-v1 Jeff Cody (7): block: only force IO completion in .bdrv_truncate if we are shrinking qemu: add castagnoli crc32c checksum algorithm block: vhdx header for the QEMU support of VHDX images block: initial VHDX driver support framework - supports open and probe block: add read-only support to VHDX image format. block: add header update capability for VHDX images. block: add write support for VHDX images block.c | 10 +- block/Makefile.objs | 1 + block/vhdx.c | 1137 +++++++++++++++++++++++++++++++++++++++++++++++++ block/vhdx.h | 326 ++++++++++++++ include/qemu/crc32c.h | 35 ++ util/Makefile.objs | 1 + util/crc32c.c | 115 +++++ 7 files changed, 1623 insertions(+), 2 deletions(-) create mode 100644 block/vhdx.c create mode 100644 block/vhdx.h create mode 100644 include/qemu/crc32c.h create mode 100644 util/crc32c.c -- 1.8.1.4