[pve-devel] [PATCH qemu-server v2 0/7] implement some guest-agent api calls

Dominik Csapak d.csapak at proxmox.com
Tue Jun 26 14:15:42 CEST 2018

this series adds some useful api calls that make use of the qemu-guest-agent

it also adds some to qm

i plan to implement a 'qm push' and 'qm pull' in the future,
but i wanted to send the things i finished up until now,
so that they can get reviewed

changes from v1:

* incorporated suggesstions from thomas
* use param_mapping instead of read_password
* renamed qm set-user-password to qm ga passwd
* limited file-write to 60k (due to post size limit)

Dominik Csapak (7):
  add Agent helper package
  implement set-user-password guest agent api call
  add 'passwd' to qm
  implement agent exec api call
  add exec(-status) to qm
  implement file-read api call via guest-agent
  implement file-write via guest-agent in the api

 PVE/API2/Qemu/Agent.pm  | 295 +++++++++++++++++++++++++++++++++++++++++++++++-
 PVE/CLI/qm.pm           |  79 ++++++++++++-
 PVE/QemuServer/Agent.pm | 115 +++++++++++++++++++
 PVE/QemuServer/Makefile |   1 +
 4 files changed, 485 insertions(+), 5 deletions(-)
 create mode 100644 PVE/QemuServer/Agent.pm


More information about the pve-devel mailing list