mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-12 13:46:57 +00:00
vm status API: return info about spice
This commit is contained in:
parent
013d8cacc6
commit
46246f04e9
@ -1474,6 +1474,10 @@ __PACKAGE__->register_method({
|
|||||||
|
|
||||||
$status->{ha} = &$vm_is_ha_managed($param->{vmid});
|
$status->{ha} = &$vm_is_ha_managed($param->{vmid});
|
||||||
|
|
||||||
|
if ($conf->{vga} && ($conf->{vga} eq 'qxl')) {
|
||||||
|
$status->{spice} = 1;
|
||||||
|
}
|
||||||
|
|
||||||
return $status;
|
return $status;
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user