mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 19:31:13 +00:00
start: keep VM paused when migrating via unix socket
this (correctly!) errored out with Qemu 2.9 when live-migrating local disks, because the NBD server blocks the VM from being resumed. was probably missed when migrating via unix domains was originally introduced.. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
058ff55b39
commit
b37ecfe6ae
@ -4666,7 +4666,7 @@ sub vm_start {
|
||||
|
||||
print "migration listens on $migrate_uri\n" if $migrate_uri;
|
||||
|
||||
if ($statefile && $statefile ne 'tcp') {
|
||||
if ($statefile && $statefile ne 'tcp' && $statefile ne 'unix') {
|
||||
eval { vm_mon_cmd_nocheck($vmid, "cont"); };
|
||||
warn $@ if $@;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user