mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
qemu: Fix warning in qemuMigrationDstPostcopyFailed
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>
This commit is contained in:
parent
5ef2582646
commit
d71a5f67a0
@ -1704,9 +1704,8 @@ qemuMigrationDstPostcopyFailed(virDomainObj *vm)
|
|||||||
reason == VIR_DOMAIN_RUNNING_POSTCOPY_FAILED)
|
reason == VIR_DOMAIN_RUNNING_POSTCOPY_FAILED)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
VIR_WARN("Migration protocol failed during incoming migration of domain "
|
VIR_WARN("Incoming migration of domain '%s' failed during post-copy; "
|
||||||
"%s, but QEMU keeps migrating; leaving the domain running, the "
|
"leaving the domain running", vm->def->name);
|
||||||
"migration will be handled as unattended", vm->def->name);
|
|
||||||
|
|
||||||
virDomainObjSetState(vm, VIR_DOMAIN_RUNNING,
|
virDomainObjSetState(vm, VIR_DOMAIN_RUNNING,
|
||||||
VIR_DOMAIN_RUNNING_POSTCOPY_FAILED);
|
VIR_DOMAIN_RUNNING_POSTCOPY_FAILED);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user