From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF0Hg-00060s-8A for qemu-devel@nongnu.org; Thu, 29 Aug 2013 07:21:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VF0Ha-0005B8-9U for qemu-devel@nongnu.org; Thu, 29 Aug 2013 07:21:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF0Ha-0005B4-2A for qemu-devel@nongnu.org; Thu, 29 Aug 2013 07:20:58 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7TBKvt2022548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 29 Aug 2013 07:20:57 -0400 From: Max Reitz Date: Thu, 29 Aug 2013 13:20:38 +0200 Message-Id: <1377775241-26278-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/3] block/qcow2: Image file option amendment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Max Reitz This series adds support to qemu-img, block and qcow2 for amending image options on existing image files. Depends on: - option: Add assigned flag to QEMUOptionParameter - qcow2-refcount: Snapshot update for zero clusters v2: - Generally implemented Kevin's comments, especially: - Zero cluster expansion for inactive L2 tables - Correct handling of preallocated zero clusters - More test cases Max Reitz (3): block: Image file option amendment qcow2: Implement bdrv_amend_options qemu-iotest: qcow2 image option amendment block.c | 8 ++ block/qcow2-cluster.c | 154 ++++++++++++++++++++++ block/qcow2.c | 184 ++++++++++++++++++++++++++ block/qcow2.h | 2 + include/block/block.h | 2 + include/block/block_int.h | 3 + qemu-img-cmds.hx | 6 + qemu-img.c | 84 ++++++++++++ qemu-img.texi | 5 + tests/qemu-iotests/061 | 152 ++++++++++++++++++++++ tests/qemu-iotests/061.out | 318 +++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/group | 1 + 12 files changed, 919 insertions(+) create mode 100755 tests/qemu-iotests/061 create mode 100644 tests/qemu-iotests/061.out -- 1.8.3.1