[pve-devel] [PATCH qemu-server 1/3] migration: status check: order states in regex alphabetically
Fiona Ebner
f.ebner at proxmox.com
Mon Jul 28 16:30:31 CEST 2025
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
src/PVE/QemuMigrate.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/QemuMigrate.pm b/src/PVE/QemuMigrate.pm
index 251fcc79..edaf2f25 100644
--- a/src/PVE/QemuMigrate.pm
+++ b/src/PVE/QemuMigrate.pm
@@ -1354,7 +1354,7 @@ sub phase2 {
next;
}
- if (!defined($status) || $status !~ m/^(active|completed|failed|cancelled)$/im) {
+ if (!defined($status) || $status !~ m/^(active|cancelled|completed|failed)$/im) {
die $merr if $merr;
die "unable to parse migration status '$status' - aborting\n";
}
--
2.47.2
More information about the pve-devel
mailing list