diff options
author | Avi Kivity <avi@redhat.com> | 2009-08-09 14:39:20 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-24 08:01:39 -0500 |
commit | 6b99dadc4a533c1d05a4ea0bd20d08616df4a847 (patch) | |
tree | 938049165a950c26de84ab645edfc80c92c2f176 /vl.c | |
parent | 04a52b412037420e01276c92cf672dbab7f78399 (diff) | |
download | qemu-6b99dadc4a533c1d05a4ea0bd20d08616df4a847.zip qemu-6b99dadc4a533c1d05a4ea0bd20d08616df4a847.tar.gz qemu-6b99dadc4a533c1d05a4ea0bd20d08616df4a847.tar.bz2 |
Do not disable autostart for live migration
If the user does not want autostart, they can specify -S.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -6040,12 +6040,10 @@ int main(int argc, char **argv, char **envp) do_loadvm(cur_mon, loadvm); if (incoming) { - autostart = 0; qemu_start_incoming_migration(incoming); - } - - else if (autostart) + } else if (autostart) { vm_start(); + } #ifndef _WIN32 if (daemonize) { |