set migration max downtime
commit2ea42952ee131b90c5286203d5d38deb66d32aec
authorGlauber Costa <glommer@redhat.com>
Thu, 28 May 2009 19:22:58 +0000 (28 15:22 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:52:32 +0000 (16 15:52 -0500)
treeab7d8d1de8a9e9775153d5d0ad9df98c6ce67932
parenta0a3fd60f66bfdef38da835e7382b0bfbe05bafc
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>
migration.c
migration.h
qemu-monitor.hx