]> git.proxmox.com Git - qemu-server.git/commit
make an api call for each guest agent command
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 16 Feb 2018 11:06:36 +0000 (12:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Feb 2018 08:56:36 +0000 (09:56 +0100)
commitea2bceaf19bf13859a0c310d988485754c19f91c
treea07eca7346e64a5fefc1465a6414fc797a5a321f
parentb8158701aa7fb190c9e4209704398f9f88dc3f5e
make an api call for each guest agent command

with a 'register_command' sub, which generates an api call
we call it for each command in the list, and one time for
the old general {vmid}/agent endpoint (for compatibility)

permissions/methods are the same as previously, but can
be overriden

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu/Agent.pm