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

Alexandre Derumier aderumier at odiso.com
Thu Sep 4 15:50:23 CEST 2014


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 !






More information about the pve-devel mailing list