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

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Fri Sep 5 09:44:01 CEST 2014


Am 04.09.2014 um 16:16 schrieb Alexandre DERUMIER:
>>> Did you see my patches posted earlier this year? I already did the same.
>>>
>>> I can post also an up2date version.
> 
> yes, sure, resend your patch. I would like to compare :)
> 
> (I think I'm doing it early than, before going into the main loop).
> 
>>> There are some corner cases. Like mem with virtio.
> Oh, don't known about it. What's this problem exactly ?

I think i check a lot more cases than yours ;-)

Just have a look at my one

Subject: [PATCH] check for valid config changes

Stefan


> ----- Mail original ----- 
> 
> De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
> À: "Alexandre Derumier" <aderumier at odiso.com> 
> Cc: pve-devel at pve.proxmox.com 
> Envoyé: Jeudi 4 Septembre 2014 16:06:45 
> Objet: Re: [pve-devel] qemu-server : allow only hotpluggable|dynamics options to be change online 
> 
> 
> Did you see my patches posted earlier this year? I already did the same. 
> 
> 
> I can post also an up2date version. There are some corner cases. Like mem with virtio. 
> 
> Stefan 
> 
> 
> Excuse my typo s ent from my mobile phone. 
> 
> Am 04.09.2014 um 15:50 schrieb Alexandre Derumier < aderumier at odiso.com >: 
> 
> 
> 
> 
> Hi, 
> 
> This is a first try for filtering options change of running vms. 
> 
> Only hotplugable values (disk,nic,cpu), dynamics values (disk throttle, cdrom media change,balloon,..), 
> and some options (name,onboot,...) 
> are allowed. 
> 
> The main idea is to always have a config which is the same than running qemu guest. 
> 
> This help to avoid hanging live migration, if config have changed but qemu process not yet restarted. 
> This also avoid confusion for users (need to stop/start after config change) 
> and also helping with hotplugging to be sure that we have a config equal to current qemu disk/controllers. 
> 
> I'm also thinking to improve pve-manager to grey-out non modifiable values when vm is running. 
> 
> review and comments are welcome ! 
> 
> 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
> 



More information about the pve-devel mailing list