[pve-devel] qemu-server : allow only hotpluggable|dynamics options to be change online

Alexandre DERUMIER aderumier at odiso.com
Fri Sep 5 16:16:41 CEST 2014


>>I think that is not necessary, because we already have the VM 'hotplug' option. 
Yes. (but we need to extend it too all options, because currently it's only use for disk and nic)



>>I am thinking about the following: Write pending changes into a new config section, 
>>for example: 

Funny, I was thinking about the same 10min ago ;)

But I really don't known how to display that in pve-manager.
(for devices grid for example and forms)


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com, "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
Envoyé: Vendredi 5 Septembre 2014 16:11:36 
Objet: RE: [pve-devel] qemu-server : allow only hotpluggable|dynamics options to be change online 

> >>Seems users also have different opinions - some prefer existing behavior .... 
> 
> Maybe simply add an option in datacenter.cfg, to choose behavior ? 

I think that is not necessary, because we already have the VM 'hotplug' option. 

I am thinking about the following: Write pending changes into a new config section, 
for example: 

------vm config--- 
memory: 1024 

[pendign_changes] 
memory: 8192 
-------------- 

We always write this before we change something. If hotplug is enabled, we commit the change after 
hotplug. Else, we commit on VM startup. 

What do you think? 



More information about the pve-devel mailing list