[pve-devel] [PATCH v5 00/19] qemu-server: implement pending changes
Dietmar Maurer
dietmar at proxmox.com
Tue Nov 25 10:19:20 CET 2014
Based on Alexandres patches (sent to pve-devel list):
qemu-server : implement pending changes v2
pending changes hotplug v2
Changes in v5:
- implement network hotplug
- cleanup error handling in vm_deviceunplug and vm_deviceplug
- bug fixes
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 (18):
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
rename qemu_bridgeadd to qemu_add_pci_bridge
vmconfig_hotplug_pending: correctly skip values
vmconfig_hotplug_pending : add update_net
vm_deviceunplug: raise expection if something fail
vm_deviceplug: always raise exception on error
PVE/API2/Qemu.pm | 234 +++++++++++++++-------
PVE/QemuServer.pm | 576 ++++++++++++++++++++++++++++++++++++++++++-----------
pve-bridge | 8 +-
qm | 27 +++
4 files changed, 661 insertions(+), 184 deletions(-)
--
1.7.10.4
More information about the pve-devel
mailing list