Dynamic Resource Management
The whole-core constraint is fully compatible with dynamic resource management (DRM).
The expected interactions between the whole-core constraint and DRM are as follows:
-
While a DRM policy exists for a domain, you cannot switch the domain from being whole-core constrained to whole-core unconstrained or from being whole-core unconstrained to whole-core constrained. For example:
-
When a domain is whole-core constrained, you cannot use the
ldm set-vcpu
command to specify a number of virtual CPUs and to remove the whole-core constraint. -
When a domain is not whole-core constrained, you cannot use the
ldm set-core
command to specify a number of whole cores and to add the whole-core constraint.
-
-
When a domain is whole-core constrained and you specify the
attack
,decay
,vcpu-min
, orvcpu-max
value, the value must be a whole-core multiple.