[pve-devel] [PATCH qemu-server 0/7] improve qemu-guest-agent api

Dominik Csapak d.csapak at proxmox.com
Tue Feb 13 16:47:06 CET 2018


this series aims to improve the guest agent api (but maintains compatibility)
by adding an api call for each command, making some commands
a GET call instead of POST (important for the webui)
and adds some new commands added in qemu since 2.9

also this splits the code from Qemu.pm in its own file

Dominik Csapak (7):
  improve PVE/API2/Makefile
  add agent flag to vm status api call
  move guest agent api call to its own file
  make an api call for each guest agent command
  add an guest agent index call
  change some guest agent commands to GET api calls
  add new guest-agent commands

 PVE/API2/Makefile      |   5 +-
 PVE/API2/Qemu.pm       |  72 ++----------------
 PVE/API2/Qemu/Agent.pm | 196 +++++++++++++++++++++++++++++++++++++++++++++++++
 PVE/API2/Qemu/Makefile |   6 ++
 PVE/CLI/qm.pm          |   3 +-
 5 files changed, 214 insertions(+), 68 deletions(-)
 create mode 100644 PVE/API2/Qemu/Agent.pm
 create mode 100644 PVE/API2/Qemu/Makefile

-- 
2.11.0





More information about the pve-devel mailing list