]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix warning in qemuMigrationDstPostcopyFailed
authorJiri Denemark <jdenemar@redhat.com>
Mon, 5 Dec 2022 11:17:56 +0000 (12:17 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 14 Dec 2022 10:21:37 +0000 (11:21 +0100)
The function is called even if QEMU reports migration as
postcopy-paused, i.e., it's not migrating anymore. And while changing
the warning, we can drop the part about unattended migration to make the
warning shorter and consistent with qemuMigrationSrcPostcopyFailed.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_migration.c

index 81bb08c02995e72cf115d614d2d9f2448fb76780..064badd509de42bec67197e46aed1f07000f06e5 100644 (file)
@@ -1704,9 +1704,8 @@ qemuMigrationDstPostcopyFailed(virDomainObj *vm)
         reason == VIR_DOMAIN_RUNNING_POSTCOPY_FAILED)
         return;
 
-    VIR_WARN("Migration protocol failed during incoming migration of domain "
-             "%s, but QEMU keeps migrating; leaving the domain running, the "
-             "migration will be handled as unattended", vm->def->name);
+    VIR_WARN("Incoming migration of domain '%s' failed during post-copy; "
+             "leaving the domain running", vm->def->name);
 
     virDomainObjSetState(vm, VIR_DOMAIN_RUNNING,
                          VIR_DOMAIN_RUNNING_POSTCOPY_FAILED);