[pve-devel] [PATCH v6 00/22] qemu-server: implement pending changes
Dietmar Maurer
dietmar at proxmox.com
Tue Nov 25 12:24:07 CET 2014
Based on Alexandres patches (sent to pve-devel list):
qemu-server : implement pending changes v2
pending changes hotplug v2
Changes in v6:
- implement disk hotplug
- vmconfig_update_net: do not call vm_deviceplug() if hotplug == 0
- remove unused code
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: test
Alexandre Derumier (1):
parse_vm_config : parse pending changes
Dietmar Maurer (21):
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
vmconfig_hotplug_pending : add update_disk
vmconfig_update_net: do not call vm_deviceplug() if hotplug == 0
remove unused code
PVE/API2/Qemu.pm | 424 ++++++++++++++-------------------
PVE/QemuServer.pm | 674 ++++++++++++++++++++++++++++++++++++++++++++---------
pve-bridge | 8 +-
qm | 27 +++
4 files changed, 769 insertions(+), 364 deletions(-)
--
1.7.10.4
More information about the pve-devel
mailing list