Adds the VM name to the title for the spice clent, making it easier to identify which in window lists etc.

Signed-off-by: Lindsay Mathieson <lindsay.mathieson@gmail.com>
This commit is contained in:
Lindsay Mathieson 2014-01-16 23:21:05 +10:00 committed by Dietmar Maurer
parent e3299e8bdf
commit 68ab04470b

View File

@ -1379,7 +1379,8 @@ __PACKAGE__->register_method({
my $node = $param->{node};
my $proxy = $param->{proxy};
my $title = "VM $vmid";
my $conf = PVE::QemuServer::load_config($vmid, $node);
my $title = "VM $vmid - $conf->{'name'}",
my $port = PVE::QemuServer::spice_port($vmid);