[pve-devel] [PATCH qemu-server v2 7/8] add new guest-agent commands
Dominik Csapak
d.csapak at proxmox.com
Thu Feb 15 14:04:52 CET 2018
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 at proxmox.com>
---
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 92ee31c..3011a66 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({
--
2.11.0
More information about the pve-devel
mailing list