Received: from eggs.gnu.org ([2001:4830:134:3::10]:58512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1tG6-0006mw-Am for qemu-devel@nongnu.org; Fri, 19 Dec 2014 03:50:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1tG0-0003Df-3K for qemu-devel@nongnu.org; Fri, 19 Dec 2014 03:50:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1tFz-0003DY-TQ for qemu-devel@nongnu.org; Fri, 19 Dec 2014 03:49:56 -0500 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 sBJ8nsf6020352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 19 Dec 2014 03:49:54 -0500 From: Markus Armbruster References: <1418899027-8445-1-git-send-email-famz@redhat.com> Date: Fri, 19 Dec 2014 09:49:52 +0100 In-Reply-To: <1418899027-8445-1-git-send-email-famz@redhat.com> (Fam Zheng's message of "Thu, 18 Dec 2014 18:37:03 +0800") Message-ID: <87bnn09g7j.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v6 0/4] qmp: Add "blockdev-backup" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , jsnow@redhat.com, qemu-devel@nongnu.org, Stefan Hajnoczi , mreitz@redhat.com Fam Zheng writes: > v6: Add Eric's rev-by in 1/4. > Address minor comments in 2/4, 3/4. > Add John's rev-by in 3/4. > > v5: Address Max's and Markus' comments: > Split patch 1. (Markus) > Fix typos and pastos. (Markus, Max) > Actually acquire aio context. (Max) > Drop unnecessary initialization of fields in blockdev_backup_prepare. (Max) > Add "sync" in the document example. > Add Max's rev-by in patch 4. > > The existing drive-backup command accepts a target file path, but that > interface provides little flexibility on the properties of target block device, > compared to what is possible with "blockdev-add", "drive_add" or "-drive". > > This is also a building block to allow image fleecing (creating a point in time > snapshot and export with nbd-server-add). > > (For symmetry, blockdev-mirror will be added in a separate series.) As I pointed out a review thread of v3, PATCH 2 adds new, unwanted uses of QERR_ macros and ERROR_CLASS_DEVICE_NOT_FOUND. Can be fixed on top. Series Reviewed-by: Markus Armbruster