mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 21:25:36 +09:00
Add support for per-VM migration flags (--auto-converge and --compressed) controlled by VM template attributes: - MIGRATE_AUTO_CONVERGE: Initial CPU throttling rate/increment (ranges: 0-100). Format: <initial>[,<increment>] - MIGRATE_COMPRESSED: Enable migration compression (YES/NO). Default: NO This commit also adds a FEATURES parser and use it during VM creation and updateconf. The parser normalizes boolean FEATURES values, validates GIC and MIGRATE_AUTO_CONVERG. Since FEATURES are normalized in oned, the commit removes some redundant checks. updateconf allow updates GIC, RAS, MIGRATE_* options See also https://libvirt.org/manpages/virsh.html#migrate Author: Guillermo Ramos <gramos@opennebula.io> co-authored-by: Guillermo Ramos <gramos@opennebula.io> co-authored-by: Ruben S. Montero <rsmontero@opennebula.org> Signed-off-by: Guillermo Ramos <gramos@opennebula.io>