* [PATCH qemu-server] api: agent: add some newer guest agent commands
@ 2026-07-14 14:27 Dominik Csapak
2026-10-28 16:16 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-07-14 14:27 UTC (permalink / raw)
To: pve-devel
These are available via the guest agent on a current debian trixie
system. Expose them on our api too, since some users might find them
useful.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
AFAIK no user requested these, and we don't need them ourselves
currently, I just noticed they were available and thought it would be
cheap to add them.
src/PVE/API2/Qemu/Agent.pm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/PVE/API2/Qemu/Agent.pm b/src/PVE/API2/Qemu/Agent.pm
index a4234968..22d1ab7b 100644
--- a/src/PVE/API2/Qemu/Agent.pm
+++ b/src/PVE/API2/Qemu/Agent.pm
@@ -27,6 +27,18 @@ my $guest_agent_commands = {
method => 'POST',
perms => 'VM.GuestAgent.Audit',
},
+ 'get-load' => {
+ method => 'GET',
+ perms => 'VM.GuestAgent.Audit',
+ },
+ 'get-cpustats' => {
+ method => 'GET',
+ perms => 'VM.GuestAgent.Audit',
+ },
+ 'get-diskstats' => {
+ method => 'GET',
+ perms => 'VM.GuestAgent.Audit',
+ },
'get-time' => {
method => 'GET',
perms => 'VM.GuestAgent.Audit',
@@ -74,6 +86,10 @@ my $guest_agent_commands = {
method => 'GET',
perms => 'VM.GuestAgent.Audit',
},
+ 'get-disks' => {
+ method => 'GET',
+ perms => 'VM.GuestAgent.Audit',
+ },
'get-memory-blocks' => {
method => 'GET',
perms => 'VM.GuestAgent.Audit',
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* applied: [PATCH qemu-server] api: agent: add some newer guest agent commands
2026-07-14 14:27 [PATCH qemu-server] api: agent: add some newer guest agent commands Dominik Csapak
@ 2026-10-28 16:16 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-10-28 16:16 UTC (permalink / raw)
To: pve-devel, Dominik Csapak
On Tue, 14 Jul 2026 16:27:37 +0200, Dominik Csapak wrote:
> These are available via the guest agent on a current debian trixie
> system. Expose them on our api too, since some users might find them
> useful.
Applied, thanks!
[1/1] api: agent: add some newer guest agent commands
https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=a5c89ff363839113cb676f9837aad770a86d919f
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-28 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-14 14:27 [PATCH qemu-server] api: agent: add some newer guest agent commands Dominik Csapak
2026-10-28 16:16 ` applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox