From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH qemu-server] migrate: handle new 'failing' status added in QEMU 11.0
Date: Mon, 19 Oct 2026 11:10:18 +0200 [thread overview]
Message-ID: <20261019091206.44914-1-f.ebner@proxmox.com> (raw)
In QEMU 11.0, a new transitory migration status 'failing' was added.
>From the QMP reference manual:
> * failing - error occurred during migration, clean-up underway.
> * failed - error occurred during migration, clean-up done.
Avoid failure before cleanup by not being able to parse the status:
> unable to parse migration status 'failing' - aborting
Instead, log the 'failing' status cleanly and wait for the transition
to the 'failed' status.
Signed-off-by: Fiona Ebner <f.ebner@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 6605f5d8..96035a75 100644
--- a/src/PVE/QemuMigrate.pm
+++ b/src/PVE/QemuMigrate.pm
@@ -1462,7 +1462,7 @@ sub phase2 {
}
my $status = $stat->{status};
- if (defined($status) && $status =~ m/^(cancelling|setup|wait-unplug)$/im) {
+ if (defined($status) && $status =~ m/^(cancelling|failing|setup|wait-unplug)$/im) {
$self->log('info', "migration in status '$status' - waiting for transition");
sleep(1);
next;
--
2.47.3
next reply other threads:[~2026-10-19 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 9:10 Fiona Ebner [this message]
2026-10-19 9:54 ` applied: [PATCH qemu-server] migrate: handle new 'failing' status added in QEMU 11.0 Fabian Grünbichler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261019091206.44914-1-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox