diff options
author | lirans@il.ibm.com <lirans@il.ibm.com> | 2009-11-02 15:41:13 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-17 08:49:37 -0600 |
commit | 94c1e580dc3b29a94cf8900f009aa80936bc87d5 (patch) | |
tree | 5e834f5a6c19f243fcff4244ff2c7bcc2cae8225 /qemu-monitor.hx | |
parent | 9962d647e2f9cd6e54e5ab9ffc3ab686e0b67eeb (diff) | |
download | qemu-94c1e580dc3b29a94cf8900f009aa80936bc87d5.tar.gz qemu-94c1e580dc3b29a94cf8900f009aa80936bc87d5.tar.bz2 qemu-94c1e580dc3b29a94cf8900f009aa80936bc87d5.zip |
Enable migration without shared storage from the monitor
This patch adds the option to activate non-shared storage migration from the
monitor.
The migration command is as follows:
(qemu) migrate -d tcp:0:4444 # for ordinary live migration
(qemu) migrate -d -b tcp:0:4444 # for live migration with complete storage copy
(qemu) migrate -d -i tcp:0:4444 # for live migration with incremental storage copy, storage is cow based.
Changes from v4:
- Minor coding style issues.
Signed-off-by: Liran Schour <lirans@il.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r-- | qemu-monitor.hx | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index bb01c14714..62e395bffd 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -724,16 +724,23 @@ ETEXI { .name = "migrate", - .args_type = "detach:-d,uri:s", - .params = "[-d] uri", - .help = "migrate to URI (using -d to not wait for completion)", - .user_print = monitor_user_noop, - .mhandler.cmd_new = do_migrate, + .args_type = "detach:-d,blk:-b,inc:-i,uri:s", + .params = "[-d] [-b] [-i] uri", + .help = "migrate to URI (using -d to not wait for completion)" + "\n\t\t\t -b for migration without shared storage with" + " full copy of disk\n\t\t\t -i for migration without " + "shared storage with incremental copy of disk " + "(base image shared between src and destination)", + .user_print = monitor_user_noop, + .mhandler.cmd_new = do_migrate, }, + STEXI -@item migrate [-d] @var{uri} +@item migrate [-d] [-b] [-i] @var{uri} Migrate to @var{uri} (using -d to not wait for completion). + -b for migration with full copy of disk + -i for migration with incremental copy of disk (base image is shared) ETEXI { |