[pve-devel] [PATCH v4 00/14] qemu-server : implement pending changes

Dietmar Maurer dietmar at proxmox.com
Fri Nov 21 11:46:12 CET 2014


Based on Alexandres patches (sent to pve-devel list):
      qemu-server : implement pending changes v2
      pending changes hotplug v2

Changes in v4:

- implement API/CLI to get pending changes
- improve hotplug error handling (see cpu hotplug as example)
- new method to cleanup setting in [PENDING]
- code cleanups

Changes in v3:

- I tried to simplify things by always writing changes into pending 
  section first.

- do not parse 'delete' option parse_vm_config

Todo: implement hotplug disk/net 

Alexandre Derumier (1):
  parse_vm_config : parse pending changes

Dietmar Maurer (13):
  parse_vm_config: correctly handle $descr
  parse_vm_config: only allow 'delete' inside [PENDING]
  write_vm_config : write pending change
  update_vm_api: always write into pending section
  implement vmconfig_apply_pending for stopped VM
  vm_start: apply pending changes
  fix balloon consistency check (consider pending changes)
  implement trivial hotplug
  vmconfig_hotplug_pending: implement tablet hotplug
  vmconfig_cleanup_pending: new method to clenup setting in [PENDING]
  code cleanup, delete trailing white space
  vmconfig_hotplug_pending: improve hotplug error handling
  implement API/CLI to get pending changes

 PVE/API2/Qemu.pm  |  190 +++++++++++++++++++++++-----
 PVE/QemuServer.pm |  356 +++++++++++++++++++++++++++++++++++++++++++++++------
 qm                |   27 ++++
 3 files changed, 506 insertions(+), 67 deletions(-)

-- 
1.7.10.4




More information about the pve-devel mailing list