[pve-devel] [PATCH qemu-server v2 6/8] change some guest agent commands to GET api calls

Dominik Csapak d.csapak at proxmox.com
Thu Feb 15 14:04:51 CET 2018


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Qemu/Agent.pm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/PVE/API2/Qemu/Agent.pm b/PVE/API2/Qemu/Agent.pm
index 864bdfe..92ee31c 100644
--- a/PVE/API2/Qemu/Agent.pm
+++ b/PVE/API2/Qemu/Agent.pm
@@ -17,10 +17,10 @@ my $guest_agent_commands = {
 	method => 'POST',
     },
     'get-time' => {
-	method => 'POST',
+	method => 'GET',
     },
     'info' => {
-	method => 'POST',
+	method => 'GET',
     },
     'fsfreeze-status' => {
 	method => 'POST',
@@ -35,19 +35,19 @@ my $guest_agent_commands = {
 	method => 'POST',
     },
     'network-get-interfaces' => {
-	method => 'POST',
+	method => 'GET',
     },
     'get-vcpus' => {
-	method => 'POST',
+	method => 'GET',
     },
     'get-fsinfo' => {
-	method => 'POST',
+	method => 'GET',
     },
     'get-memory-blocks' => {
-	method => 'POST',
+	method => 'GET',
     },
     'get-memory-block-info' => {
-	method => 'POST',
+	method => 'GET',
     },
     'suspend-hybrid' => {
 	method => 'POST',
-- 
2.11.0





More information about the pve-devel mailing list