Re: [Qemu-devel] [PATCH v17 10/14] qmp: Add command 'blockdev-backup'

2014-04-08 Thread Fam Zheng
On Mon, 04/07 15:07, Eric Blake wrote: > On 03/10/2014 01:26 AM, Fam Zheng wrote: > > Similar to drive-backup, but this command uses a device id as target > > instead of creating/opening an image file. > > > > Also add blocker on target bs, since the target is also a named device > > now. > > > >

Re: [Qemu-devel] [PATCH v17 10/14] qmp: Add command 'blockdev-backup'

2014-04-07 Thread Eric Blake
On 03/10/2014 01:26 AM, Fam Zheng wrote: > Similar to drive-backup, but this command uses a device id as target > instead of creating/opening an image file. > > Also add blocker on target bs, since the target is also a named device > now. > > Add check and report error for bs == target which beca

[Qemu-devel] [PATCH v17 10/14] qmp: Add command 'blockdev-backup'

2014-03-10 Thread Fam Zheng
Similar to drive-backup, but this command uses a device id as target instead of creating/opening an image file. Also add blocker on target bs, since the target is also a named device now. Add check and report error for bs == target which became possible but is an illegal case with introduction of