From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIkzx-0006dD-GY for qemu-devel@nongnu.org; Thu, 10 Dec 2009 10:32:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIkzs-0006WO-Ol for qemu-devel@nongnu.org; Thu, 10 Dec 2009 10:32:08 -0500 Received: from [199.232.76.173] (port=49963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIkzs-0006W9-De for qemu-devel@nongnu.org; Thu, 10 Dec 2009 10:32:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5230) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIkzs-0001p1-J0 for qemu-devel@nongnu.org; Thu, 10 Dec 2009 10:32:04 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBAFW2qM000561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 10 Dec 2009 10:32:02 -0500 From: Kevin Wolf Date: Thu, 10 Dec 2009 16:30:53 +0100 Message-Id: <1260459056-20520-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] Change the backing file of images List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf This patch series adds the functionality to change the backing file of existing images. This includes simple renaming of a backing file without converting the COW image as well as safe rebasing onto a different backing file that has some changes compared to the current backing file. Kevin Wolf (3): block: Introduce BDRV_O_NO_BACKING block: Add bdrv_change_backing_file qemu-img rebase block.c | 24 ++++++- block.h | 3 + block/qcow2.c | 82 +++++++++++++++++++++++ block_int.h | 3 + qemu-img-cmds.hx | 6 ++ qemu-img.c | 192 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 6 files changed, 307 insertions(+), 3 deletions(-)