mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-13 15:03:54 +00:00
migration : add setup state
since qemu 1.5, they are a new migration state : "setup" it's mainly use for rdma migration, but slow vm can it see and hang on migration http://git.qemu.org/?p=qemu.git;a=commit;h=3b6959506831193f37cc830c8e111b437c0d1380 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
53fc9f1e98
commit
985a5f483d
@ -446,6 +446,12 @@ sub phase2 {
|
|||||||
}
|
}
|
||||||
die "too many query migrate failures - aborting\n";
|
die "too many query migrate failures - aborting\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($stat->{status} =~ m/^(setup)$/im) {
|
||||||
|
sleep(1);
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
if ($stat->{status} =~ m/^(active|completed|failed|cancelled)$/im) {
|
if ($stat->{status} =~ m/^(active|completed|failed|cancelled)$/im) {
|
||||||
$merr = undef;
|
$merr = undef;
|
||||||
$err_count = 0;
|
$err_count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user