Staging CPU/memory changes with hot-plugging enabled for a VM

Severen Redwood

New Member
Sep 16, 2024
1
0
1
I've noticed that with hot-plugging of CPUs and memory enabled for a VM, altering the VCPUs or memory (through both PVE's UI or API) for that VM will immediately apply the changes. Of course, if you've enabled hot-plugging this is generally what you want, but it can be a liability when it comes to hot-removing memory for example. Is there a way to 'stage' changes (ie. the same default behaviour for a VM without hot-plugging) so that they require a reboot to take effect? Or is the recommendation in this case to ensure the VM is shut down first, then apply the changes and start it up again?