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:
parent
9f78b695a7
commit
e08553ba57
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user