fix migration to obey -S
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jul 2009 21:17:51 +0000 (23:17 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 30 Jul 2009 14:50:36 +0000 (09:50 -0500)
commit778178c2a9ad8da928b1c4f49748fe25235c94e1
treebd1cc6f856a64bf95bc0578b71f150ed05b72350
parentcda7a16fad25c61aeff5da28b7dff04b6d0d43dd
fix migration to obey -S

Since migration returns right away, starting the VM right
after calling qemu_start_incoming_migration is wrong even
if -S is not passed.  We have to do this after migration
has completed.

Cc: Glauber Costa <glommer@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration-exec.c
migration-tcp.c
sysemu.h
vl.c