mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-13 22:22:37 +00:00
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>
This commit is contained in:
parent
04a52b4120
commit
6b99dadc4a
6
vl.c
6
vl.c
@ -6040,12 +6040,10 @@ int main(int argc, char **argv, char **envp)
|
|||||||
do_loadvm(cur_mon, loadvm);
|
do_loadvm(cur_mon, loadvm);
|
||||||
|
|
||||||
if (incoming) {
|
if (incoming) {
|
||||||
autostart = 0;
|
|
||||||
qemu_start_incoming_migration(incoming);
|
qemu_start_incoming_migration(incoming);
|
||||||
}
|
} else if (autostart) {
|
||||||
|
|
||||||
else if (autostart)
|
|
||||||
vm_start();
|
vm_start();
|
||||||
|
}
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
if (daemonize) {
|
if (daemonize) {
|
||||||
|
Loading…
Reference in New Issue
Block a user