diff options
author | Glauber Costa <glommer@redhat.com> | 2009-05-28 15:22:58 -0400 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-16 15:52:32 -0500 |
commit | 2ea42952ee131b90c5286203d5d38deb66d32aec (patch) | |
tree | ab7d8d1de8a9e9775153d5d0ad9df98c6ce67932 /qemu-monitor.hx | |
parent | a0a3fd60f66bfdef38da835e7382b0bfbe05bafc (diff) | |
download | qemu-2ea42952ee131b90c5286203d5d38deb66d32aec.zip qemu-2ea42952ee131b90c5286203d5d38deb66d32aec.tar.gz qemu-2ea42952ee131b90c5286203d5d38deb66d32aec.tar.bz2 |
set migration max downtime
provide a monitor command to allow one to set the maximum
downtime he is willing to suffer during migration, in seconds.
"ms", "us", "ns" and "s" are accepted as modifiers.
This parameter will be used by ram_save_live() code to determine
a safe moment to enter stage 3
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r-- | qemu-monitor.hx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index f1155b8..fa48527 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -484,6 +484,14 @@ STEXI Set maximum speed to @var{value} (in bytes) for migrations. ETEXI + { "migrate_set_downtime", "s", do_migrate_set_downtime, + "value", "set maximum tolerated downtime (in seconds) for migrations" }, + +STEXI +@item migrate_set_downtime @var{second} +Set maximum tolerated downtime (in seconds) for migration. +ETEXI + #if defined(TARGET_I386) { "drive_add", "ss", drive_hot_add, "pci_addr=[[<domain>:]<bus>:]<slot>\n" "[file=file][,if=type][,bus=n]\n" |