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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2018-02-15 14:04:52 +01:00 committed by Thomas Lamprecht
parent e6bd703b4e
commit 5667cc55fe

View 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({