cpu_map: Disable cpu64-rhel* for host-model and baseline

These ancient RHEL-only CPU models should not really be used by any CPU
definition created by libvirt. We keep them just for backwards
compatibility with domains which might still be using them.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Jiri Denemark 2022-04-26 12:50:41 +02:00
parent 3342278539
commit d2e4d66be3
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<cpus>
<model name='cpu64-rhel5'>
<decode host='on' guest='on'/>
<decode host='off' guest='off'/>
<feature name='apic'/>
<feature name='clflush'/>
<feature name='cmov'/>

View File

@ -1,6 +1,6 @@
<cpus>
<model name='cpu64-rhel6'>
<decode host='on' guest='on'/>
<decode host='off' guest='off'/>
<feature name='apic'/>
<feature name='clflush'/>
<feature name='cmov'/>

View File

@ -1,3 +1,4 @@
<cpu mode='custom' match='exact'>
<model fallback='allow'>cpu64-rhel6</model>
<model fallback='allow'>kvm64</model>
<feature policy='require' name='lahf_lm'/>
</cpu>