From 5667cc55fed6d587d5dc79cb1fa16c9e2ac34c27 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 15 Feb 2018 14:04:52 +0100 Subject: [PATCH] add new guest-agent commands 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 --- PVE/API2/Qemu/Agent.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/PVE/API2/Qemu/Agent.pm b/PVE/API2/Qemu/Agent.pm index 563be46d..9af5d5fa 100644 --- a/PVE/API2/Qemu/Agent.pm +++ b/PVE/API2/Qemu/Agent.pm @@ -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({