Skip to content
Snippets Groups Projects
Commit 8bd977e9 authored by Sébastien Bocahu's avatar Sébastien Bocahu Committed by Guido Trotter
Browse files

Add support for cpu_cap and cpu_weight Xen params


This patch adds support for Xen's CPU scheduler 'cpu_cap' and
'cpu_weight' parameters.

Ganeti default values (cap: 0=unlimited, weight: 256) are Xen defaults.

cpu_cap is not validated correctly because of actual Ganeti limitation
on checks. I'd need check methods to get beparams or vcpus to get moved
to hvparams.

Signed-off-by: default avatarSébastien Bocahu <sebastien.bocahu@nuxit.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent d5cc16d7
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment