mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-10 22:45:43 +00:00
add agent flag to vm status api call
so that we can check in the gui if we have the agent set without having to load the whole config Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
aaa36aee18
commit
c9a074b8bf
@ -1760,6 +1760,8 @@ __PACKAGE__->register_method({
|
||||
|
||||
$status->{spice} = 1 if PVE::QemuServer::vga_conf_has_spice($conf->{vga});
|
||||
|
||||
$status->{agent} = 1 if $conf->{agent};
|
||||
|
||||
return $status;
|
||||
}});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user