aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-20 19:42:20 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:30:20 -0500
commit7b63034926351c58643a7e365581f719c70d6e8c (patch)
tree82ea946d1d606bee3bc5dd16afe449314649a193 /vl.c
parentf0d99ad7116e9f6f62db6f7c7fa7b1fca8289b3c (diff)
split do_loadvm() into do_loadvm() and load_vmstate()
do_loadvm() is now called from the monitor. load_vmstate() is called by do_loadvm() and when -loadvm command line is used. Command line don't have to play games with vmstop()/vmstart() Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 3a247aeabb..95ed511061 100644
--- a/vl.c
+++ b/vl.c
@@ -6031,7 +6031,7 @@ int main(int argc, char **argv, char **envp)
}
if (loadvm)
- do_loadvm(cur_mon, loadvm);
+ load_vmstate(cur_mon, loadvm);
if (incoming) {
qemu_start_incoming_migration(incoming);