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 but is
an illegal case with introduction of blockdev-backup.
Signed-off-by: Fam Zheng <f...@redhat.com>
---
block/backup.c | 28 +++++++++++++++++++++++++++
blockdev.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
qapi/block-core.json | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
qmp-commands.hx | 42 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 178 insertions(+)
Reviewed-by: Max Reitz <mre...@redhat.com>