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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!