[pve-devel] [PATCH qemu-server 01/10] migrate: switch back to qm mtunnel

Fabian Gr├╝nbichler f.gruenbichler at proxmox.com
Fri Aug 4 10:55:00 CEST 2017


to allow adding guest specific commands to the tunnel

Signed-off-by: Fabian Gr├╝nbichler <f.gruenbichler at proxmox.com>
---
see the related patch series by Thomas about deprecating / refactoring pvecm
mtunnel altogether

 PVE/QemuMigrate.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index f995584..0376a81 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
@@ -96,7 +96,7 @@ sub fork_tunnel {
 
     my @localtunnelinfo = defined($tunnel_addr) ? ('-L' , $tunnel_addr ) : ();
 
-    my $cmd = [@{$self->{rem_ssh}}, '-o ExitOnForwardFailure=yes', @localtunnelinfo, '/usr/bin/pvecm', 'mtunnel' ];
+    my $cmd = [@{$self->{rem_ssh}}, '-o ExitOnForwardFailure=yes', @localtunnelinfo, '/usr/sbin/qm', 'mtunnel' ];
 
     my $tunnel = $self->fork_command_pipe($cmd);
 
-- 
2.11.0




More information about the pve-devel mailing list