]> git.proxmox.com Git - pve-container.git/commit
add vmconfig_hotplug_pending and vmconfig_apply_pending
authorOguz Bektas <o.bektas@proxmox.com>
Mon, 14 Oct 2019 08:28:49 +0000 (10:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 18:44:36 +0000 (20:44 +0200)
commit32e15a2b95299c8781cce2dd7aa44c83757140f5
tree64f9d1bf89cd65163b14f24acb7dd1ea3f5993d6
parentd063af008e6f72405dc9d471aeee03989d90ec33
add vmconfig_hotplug_pending and vmconfig_apply_pending

vmconfig_hotplug_pending is responsible for checking if a key/value pair
in the pending section can be hotpugged, if yes; perform a generic
replace, or perform specific actions for hotplugging the special cases.

vmconfig_apply_pending is only supposed to be called when ct isn't live.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/PVE/LXC.pm
src/PVE/LXC/Config.pm