From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMbaf-0002Iu-Fp for qemu-devel@nongnu.org; Mon, 01 Apr 2013 06:03:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMbaY-0002VM-V1 for qemu-devel@nongnu.org; Mon, 01 Apr 2013 06:03:49 -0400 Received: from e28smtp06.in.ibm.com ([122.248.162.6]:52054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMbaY-0002V4-8x for qemu-devel@nongnu.org; Mon, 01 Apr 2013 06:03:42 -0400 Received: from /spool/local by e28smtp06.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 1 Apr 2013 15:29:14 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 52808E002D for ; Mon, 1 Apr 2013 15:35:16 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r31A3Vvi3473784 for ; Mon, 1 Apr 2013 15:33:32 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r31A3YdF027518 for ; Mon, 1 Apr 2013 21:03:34 +1100 From: Wenchao Xia Date: Mon, 1 Apr 2013 18:01:28 +0800 Message-Id: <1364810491-21404-1-git-send-email-xiawenc@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/3] block: make qmp_transaction extendable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, Wenchao Xia , dietmar@proxmox.com, stefanha@gmail.com This serial will package backing chain snapshot code as one case to make it possible adding more operations later. It is splitted out from previous snapshot patches since it have slightly different purpose, adjusting qmp_transaction. Previous patch and discuss could be found at: http://lists.nongnu.org/archive/html/qemu-devel/2013-01/msg00645.html I can't find a way to split patch 2/3 to smaller ones unless breaking the build, so kepted it as a relative larger patch. Wenchao Xia (3): 1 block: add function deappend() 2 block: adjust qmp_transaction to be extendable 3 block: change rollback sequence in qmp_transaction block.c | 66 +++++++++++++ blockdev.c | 252 ++++++++++++++++++++++++++++++------------------- include/block/block.h | 1 + 3 files changed, 221 insertions(+), 98 deletions(-)