diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index db6424e2..513b224e 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1397,7 +1397,8 @@ __PACKAGE__->register_method({ my $proxy = $param->{proxy}; my $conf = PVE::QemuServer::load_config($vmid, $node); - my $title = "VM $vmid - $conf->{'name'}", + my $title = "VM $vmid"; + $title .= " - ". $conf->{name} if $conf->{name}; my $port = PVE::QemuServer::spice_port($vmid);