[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 3/8] block: add drive-backup QMP command

From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v4 3/8] block: add drive-backup QMP command
Date: Thu, 16 May 2013 13:11:40 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

On 05/16/2013 02:36 AM, Stefan Hajnoczi wrote:
> @drive-backup
> Start a point-in-time copy of a block device to a new destination.  The
> status of ongoing drive-backup operations can be checked with
> query-block-jobs where the BlockJobInfo.type field has the value 'backup'.
> The operation can be stopped before it has completed using the
> block-job-cancel command.
> @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
> Returns: nothing on success
>          If @device is not a valid block device, DeviceNotFound
> Since 1.6
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
>  blockdev.c       | 92 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  qapi-schema.json | 32 ++++++++++++++++++++
>  qmp-commands.hx  | 37 +++++++++++++++++++++++
>  3 files changed, 161 insertions(+)

Reviewed-by: Eric Blake <address@hidden>

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]