On Wed, May 15, 2013 at 01:04:55PM -0600, Eric Blake wrote:
> On 05/15/2013 08:34 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.
> > 
> 
> > +++ b/qmp-commands.hx
> > @@ -912,6 +912,12 @@ EQMP
> >      },
> >  
> >      {
> > +        .name       = "drive-backup",
> > +        .args_type  = "device:B,target:s,speed:i?,mode:s?,format:s?",
> > +        .mhandler.cmd_new = qmp_marshal_input_drive_backup,
> > +    },
> 
> No example?  But I'm not going to block this patch because of that.

I'll add an example in v4.

Reply via email to