[pve-devel] [PATCH qemu-server/docs/manager v2] improve hibernation vmstate handling

Dominik Csapak d.csapak at proxmox.com
Mon Dec 9 15:26:57 CET 2019


this series adds additional privilege checks for the vmstate with
hibernation, also adds docs and gui support for selecting the
vmstate storage

changes from v1:
* add docs
* add gui for vmstatestorage
* improve comments
* remove unecessary lock from api
* conditionally check privs in PVE::QemuServer::vm_suspend

the gui patch needs the docs patch as dev dependcy for the onlinehelp section

qemu-server:

Dominik Csapak (3):
  refactor finding of vmstate storage
  suspend to disk: check more permissions
  move vmstate check to check_vm_modify_config_perm

 PVE/API2/Qemu.pm  | 24 +++++++++++++++++++++---
 PVE/QemuConfig.pm | 18 +++---------------
 PVE/QemuServer.pm | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 18 deletions(-)

pve-docs:

Dominik Csapak (1):
  add chapter about hibernation and vmstate storage selection

 qm.adoc | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

pve-manager:

Dominik Csapak (1):
  ui: make vmstatestorage configureable

 www/manager6/qemu/Options.js | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

-- 
2.20.1





More information about the pve-devel mailing list