CPU mode feature policy settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
New
|
Undecided
|
Unassigned |
Bug Description
with the cpu-model-
for instance)
juju config nova-compute cpu-model-
creates nova.conf
cpu_
in libvirt xml
<cpu>
<feature name="feature-1/>
<feature name="feature-2/>
</cpu>
the default policy attribute above is 'require'
<cpu>
<feature policy="require" name="feature-1/>
<feature policy="require" name="feature-2/>
</cpu>
I have a circumstance where i'd like to control the policy flag in this XML
https:/
The next enhancement is that the <feature> elements can each have an extra “policy” attribute with possible values
policy=”force” – expose the feature to the guest even if the host does not have it. This is kind of crazy, except in the case of software emulation.
policy=
policy=
policy=
policy=”forbid” – if the host has this feature, then fail and refuse to start the guest
Could you push upstream to add this feature?