]> git.proxmox.com Git - qemu-server.git/commitdiff
add new guest-agent commands
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 15 Feb 2018 13:04:52 +0000 (14:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Feb 2018 08:56:53 +0000 (09:56 +0100)
between qemu 2.9 and 2.11 there were added some new commands,
the guest agent inside the vm has to support these

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

index 563be46d3f9e71a1994301f7abae3b8ff12e4e16..9af5d5fa547d393fc325bf8453fee77e1c37a1f7 100644 (file)
@@ -61,6 +61,19 @@ my $guest_agent_commands = {
     'shutdown' => {
        method => 'POST',
     },
+    # added since qemu 2.9
+    'get-host-name' => {
+       method => 'GET',
+    },
+    'get-osinfo' => {
+       method => 'GET',
+    },
+    'get-users' => {
+       method => 'GET',
+    },
+    'get-timezone' => {
+       method => 'GET',
+    },
 };
 
 __PACKAGE__->register_method({