[pve-devel] [PATCH 09/19] phase2 : fix vmid for unix socket

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Mar 9 17:31:51 CET 2017


This and the previous patch should get squashed together.
If a variable gets renamed or replaced it should be done all at once,
at least if it does not changes the logic of code.

On 02/22/2017 02:33 PM, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>   PVE/QemuMigrate.pm | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
> index f1d621a..ab396b3 100644
> --- a/PVE/QemuMigrate.pm
> +++ b/PVE/QemuMigrate.pm
> @@ -562,7 +562,7 @@ sub phase2 {
>   	}
>   	elsif ($line =~ m!^migration listens on unix:(/run/qemu-server/(\d+)\.migrate)$!) {
>   	    $raddr = $1;
> -	    die "Destination UNIX sockets VMID does not match source VMID" if $vmid ne $2;
> +	    die "Destination UNIX sockets VMID does not match source VMID" if $targetvmid ne $2;
>   	    $ruri = "unix:$raddr";
>   	}
>   	elsif ($line =~ m/^migration listens on port (\d+)$/) {





More information about the pve-devel mailing list