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

2013-05-22 Thread Stefan Hajnoczi
On Wed, May 22, 2013 at 11:53:44AM +0200, Kevin Wolf wrote: > Am 16.05.2013 um 10:36 hat Stefan Hajnoczi geschrieben: > > +proto_drv = bdrv_find_protocol(target); > > +if (!proto_drv) { > > +error_set(errp, QERR_INVALID_BLOCK_FORMAT, format); > > +return; > > +} > > I s

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

2013-05-22 Thread Kevin Wolf
Am 16.05.2013 um 10:36 hat Stefan Hajnoczi geschrieben: > @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 ope

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

2013-05-16 Thread Eric Blake
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 ca

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

2013-05-16 Thread Stefan Hajnoczi
@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-ca