Re: [Qemu-devel] [PATCH v6 2/4] qmp: Add command 'blockdev-backup'

2014-12-18 Thread John Snow
On 12/18/2014 05:37 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 became possibl

Re: [Qemu-devel] [PATCH v6 2/4] qmp: Add command 'blockdev-backup'

2014-12-18 Thread Max Reitz
On 2014-12-18 at 11:37, 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 became possible

[Qemu-devel] [PATCH v6 2/4] qmp: Add command 'blockdev-backup'

2014-12-18 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