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

Dominik Csapak d.csapak at proxmox.com
Thu Jun 7 13:16:49 CEST 2018


this series adds some useful api calls that make use of the qemu-guest-agent
like
set-user-password
exec
file-read
file-write

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

Dominik Csapak (8):
  refactor Makefile for PVE/QemuServer/ directory
  add Agent helper package
  implement set-user-password guest agent api call
  add 'set-user-password' 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  | 285 +++++++++++++++++++++++++++++++++++++++++++++++-
 PVE/CLI/qm.pm           |  84 ++++++++++++++
 PVE/QemuServer/Agent.pm |  92 ++++++++++++++++
 PVE/QemuServer/Makefile |  17 +--
 4 files changed, 467 insertions(+), 11 deletions(-)
 create mode 100644 PVE/QemuServer/Agent.pm

-- 
2.11.0





More information about the pve-devel mailing list