mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 18:53:07 +00:00
vm_status: return more verbose HA state
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c7a8aad601
commit
4d2a734e1b
@ -1504,7 +1504,7 @@ __PACKAGE__->register_method({
|
||||
my $vmstatus = PVE::QemuServer::vmstatus($param->{vmid}, 1);
|
||||
my $status = $vmstatus->{$param->{vmid}};
|
||||
|
||||
$status->{ha} = PVE::HA::Config::vm_is_ha_managed($param->{vmid});
|
||||
$status->{ha} = PVE::HA::Config::get_service_status("vm:$param->{vmid}");
|
||||
|
||||
$status->{spice} = 1 if PVE::QemuServer::vga_conf_has_spice($conf->{vga});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user