I would like to use memory ballooning in Proxmox VE with kvm just like virsh does it.
I want to have fixed amount of memory in a VM (so no dynamic changing, only human changes accepted). When time comes I want to change current allocation to something else. When the VM is restarted it should stay at the last used value. It should be done on the fly without guest restart.
In Proxmox VE, the amount of current memory can be changed via ballooning like I want, when going into VM settings, "Monitor" tab and using "balloon" command. It changes the memory on the fly (both increase and decrease work like expected) but this change is not persistent and not visible in GUI. After the VM is restarted it goes back to the amount specified on Hardware tab in Memory row.
The memory hotplug feature is no good for me because it requires numa enablement and it fails in older (RHEL) kernels when decreasing memory. The ballooning method described above always works for me.
Is this feature available in Proxmox ?
I want to have fixed amount of memory in a VM (so no dynamic changing, only human changes accepted). When time comes I want to change current allocation to something else. When the VM is restarted it should stay at the last used value. It should be done on the fly without guest restart.
In Proxmox VE, the amount of current memory can be changed via ballooning like I want, when going into VM settings, "Monitor" tab and using "balloon" command. It changes the memory on the fly (both increase and decrease work like expected) but this change is not persistent and not visible in GUI. After the VM is restarted it goes back to the amount specified on Hardware tab in Memory row.
The memory hotplug feature is no good for me because it requires numa enablement and it fails in older (RHEL) kernels when decreasing memory. The ballooning method described above always works for me.
Is this feature available in Proxmox ?