mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 22:53:08 +00:00
migration : enable mtunnel for insecure migration V2
We only use it to send commands faster like resume Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
4dcce9ee3c
commit
d296ed08d3
@ -599,8 +599,9 @@ sub phase2 {
|
|||||||
|
|
||||||
die "unable to detect remote migration address\n" if !$raddr;
|
die "unable to detect remote migration address\n" if !$raddr;
|
||||||
|
|
||||||
|
$self->log('info', "start remote tunnel");
|
||||||
|
|
||||||
if ($migration_type eq 'secure') {
|
if ($migration_type eq 'secure') {
|
||||||
$self->log('info', "start remote tunnel");
|
|
||||||
|
|
||||||
if ($ruri =~ /^unix:/) {
|
if ($ruri =~ /^unix:/) {
|
||||||
unlink $raddr;
|
unlink $raddr;
|
||||||
@ -633,6 +634,9 @@ sub phase2 {
|
|||||||
} else {
|
} else {
|
||||||
die "unsupported protocol in migration URI: $ruri\n";
|
die "unsupported protocol in migration URI: $ruri\n";
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
#fork tunnel for insecure migration, to send faster commands like resume
|
||||||
|
$self->{tunnel} = $self->fork_tunnel();
|
||||||
}
|
}
|
||||||
|
|
||||||
my $start = time();
|
my $start = time();
|
||||||
|
Loading…
Reference in New Issue
Block a user