Received: from eggs.gnu.org ([2001:4830:134:3::10]:40163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V44Ci-0007ki-Un for qemu-devel@nongnu.org; Tue, 30 Jul 2013 03:18:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V44Cc-0002Fm-RZ for qemu-devel@nongnu.org; Tue, 30 Jul 2013 03:18:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V44Cc-0002FW-JU for qemu-devel@nongnu.org; Tue, 30 Jul 2013 03:18:38 -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 r6U7IaCw013022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 30 Jul 2013 03:18:36 -0400 From: Fam Zheng Date: Tue, 30 Jul 2013 15:17:46 +0800 Message-Id: <1375168668-7109-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] block: allow commit active as top List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, jcody@redhat.com, stefanha@redhat.com, pbonzini@redhat.com Previously live commit of active block device is not supported, this series implements it and updates corresponding qemu-iotests cases. Please see commit messages for implementation details. v2: report ready when all blocks commited for the first time, leave it to the user to complete the job (upon user's complete command, also commit writes since ready and flushes before reporting completion) Fam Zheng (2): block: allow live commit of active image qemu-iotests: update test cases for commit active block.c | 102 ++++++++------------------ block/commit.c | 190 +++++++++++++++++++++++++++++-------------------- include/block/block.h | 5 +- tests/qemu-iotests/040 | 73 ++++++++----------- 4 files changed, 177 insertions(+), 193 deletions(-) -- 1.8.3.4