For context, when the target node has a qemu-server version older than
9.0.20, the "nets-host-mtu" option will be unknown to it and migrating a
VM having the option set will fail.

This error message might appear, for example, in a task log and without
any indication of where it was emitted from, which can make debugging
harder.

Signed-off-by: Maximiliano Sandoval <[email protected]>
---

Just a small improvement to and error message that came up in a support ticket.

 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 d4de9f87..ff7b3a39 100644
--- a/src/PVE/QemuMigrate.pm
+++ b/src/PVE/QemuMigrate.pm
@@ -1125,7 +1125,7 @@ sub phase2_start_local_cluster {
         noerr => 1,
     );
 
-    die "target node $self->{node} is too old for preserving VirtIO-net MTU, 
please upgrade\n"
+    die "target node $self->{node} is too old for preserving VirtIO-net MTU, 
please upgrade qemu-server\n"
         if $target_nets_host_mtu_not_supported;
 
     die "remote command failed with exit code $exitcode\n" if $exitcode;
-- 
2.47.3




Reply via email to