]> git.ipfire.org Git - thirdparty/qemu.git/commit - blockdev.c
qmp: Add blockdev-mirror command
authorFam Zheng <famz@redhat.com>
Thu, 24 Dec 2015 04:45:05 +0000 (12:45 +0800)
committerMax Reitz <mreitz@redhat.com>
Thu, 7 Jan 2016 20:30:18 +0000 (21:30 +0100)
commitdf92562e68d6676a52faeaf20e87526ceaa28003
tree2e9ccdcd2a48a581be67f04f694fa90d040e1392
parente40e5027f6b0b7e981c4f1844180fb0e7947d1cd
qmp: Add blockdev-mirror command

This will start a mirror job from a named device to another named
device, its relation with drive-mirror is similar with blockdev-backup
to drive-backup.

In blockdev-mirror, the target node should be prepared by blockdev-add,
which will be responsible for assigning a name to the new node, so
we don't have 'node-name' parameter.

Signed-off-by: Fam Zheng <famz@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1450932306-13717-5-git-send-email-famz@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
blockdev.c
qapi/block-core.json
qmp-commands.hx