5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-25 06:03:52 +03:00

qmp_socket: remove unused "name" parameter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-10-23 16:10:04 +02:00
parent 9f78b695a7
commit e08553ba57

View File

@ -4139,10 +4139,9 @@ sub spice_port {
}
sub qmp_socket {
my ($vmid, $qga, $name) = @_;
my ($vmid, $qga) = @_;
my $sockettype = $qga ? 'qga' : 'qmp';
my $ext = $name ? '-'.$name : '';
return "${var_run_tmpdir}/$vmid$ext.$sockettype";
return "${var_run_tmpdir}/$vmid.$sockettype";
}
sub pidfile_name {