How to make proxmox ve take effect immediately after modifying the configuration?

chenym

Member
Oct 25, 2022
50
1
8
Hello, I modified the conf file information of proxmox ve through API. How can I make the configuration information effective without restarting?1669188549351.png
 
Hi,
certain options cannot be applied immediately, which is why the pending section exists in the first place. In particular not args, because it might be anything.
 
Hi,
certain options cannot be applied immediately, which is why the pending section exists in the first place. In particular not args, because it might be anything.
Is there any way to make my changes take effect immediately?
 
It's not possible to add a display on the fly, but there is a display-update command for QMP. I think you can change the address with that. See here: https://qemu.readthedocs.io/en/latest/interop/qemu-qmp-ref.html#qapidoc-1843

But you will need to send it to the VM's QMP socket directly, it's not in qm monitor AFAICT.

EDIT: I'd also be careful with migration. It might be that the change via QMP does not survive a migration. Would need to be tested though.
 
Last edited: