Received: from eggs.gnu.org ([2001:4830:134:3::10]:54380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpGO8-0006Cu-Rd for qemu-devel@nongnu.org; Wed, 19 Jun 2013 07:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpGO7-0001ZH-Lr for qemu-devel@nongnu.org; Wed, 19 Jun 2013 07:17:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpGO7-0001ZB-DQ for qemu-devel@nongnu.org; Wed, 19 Jun 2013 07:17:19 -0400 Date: Wed, 19 Jun 2013 13:17:12 +0200 From: Kevin Wolf Message-ID: <20130619111712.GI2934@dhcp-200-207.str.redhat.com> References: <1369917299-5725-1-git-send-email-stefanha@redhat.com> <1369917299-5725-10-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369917299-5725-10-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH v5 09/11] blockdev: add DriveBackup transaction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Fam Zheng , qemu-devel@nongnu.org, dietmar@proxmox.com, imain@redhat.com, Paolo Bonzini , xiawenc@linux.vnet.ibm.com Am 30.05.2013 um 14:34 hat Stefan Hajnoczi geschrieben: > This patch adds a transactional version of the drive-backup QMP command. > It allows atomic snapshots of multiple drives along with automatic > cleanup if there is a failure to start one of the backup jobs. > > Note that QMP events are emitted for block job completion/cancellation > and the block job will be listed by query-block-jobs. > > @device: the name of the device whose writes should be mirrored. > > @target: the target of the new image. If the file exists, or if it > is a device, the existing file/device will be used as the new > destination. If it does not exist, a new file will be created. > > @format: #optional the format of the new destination, default is to > probe if @mode is 'existing', else the format of the source > > @mode: #optional whether and how QEMU should create a new image, default is > 'absolute-paths'. > > @speed: #optional the maximum speed, in bytes per second > > @on-source-error: #optional the action to take on an error on the source, > default 'report'. 'stop' and 'enospc' can only be used > if the block device supports io-status (see BlockInfo). > > @on-target-error: #optional the action to take on an error on the target, > default 'report' (no limitations, since this applies to > a different block device than @device). > > Signed-off-by: Stefan Hajnoczi Reviewed-by: Kevin Wolf