summaryrefslogtreecommitdiff
path: root/src/cpu_map/x86_SandyBridge.xml
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2020-03-12 17:39:37 +0100
committerJiri Denemark <jdenemar@redhat.com>2020-03-25 22:27:39 +0100
commitf4914045c2bff46b120c6c2af80066d24e48b609 (patch)
treed5257dc56172d8a7c56f4f8cab143f7808f19aa2 /src/cpu_map/x86_SandyBridge.xml
parentdd17a4eba8618aeb0144f268f2222f65a85425fc (diff)
downloadlibvirt-f4914045c2bff46b120c6c2af80066d24e48b609.tar.gz
cpu_map: Add <decode> element to x86 CPU model definitions
The element specifies whether a particular CPU model can be used when creating a CPU definition from raw CPUID/MSR data. The @host attribute determines whether the CPU model can be used (host='on') for creating CPU definition for host capabilities. Usability of the model for domain capabilities and host-model CPU definitions is controlled by the @guest attribute. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Tested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'src/cpu_map/x86_SandyBridge.xml')
-rw-r--r--src/cpu_map/x86_SandyBridge.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu_map/x86_SandyBridge.xml b/src/cpu_map/x86_SandyBridge.xml
index 48e4ac8082..7c85ed42df 100644
--- a/src/cpu_map/x86_SandyBridge.xml
+++ b/src/cpu_map/x86_SandyBridge.xml
@@ -1,5 +1,6 @@
<cpus>
<model name='SandyBridge'>
+ <decode host='on' guest='on'/>
<signature family='6' model='42'/> <!-- 0206a0 -->
<signature family='6' model='45'/> <!-- 0206d0 -->
<vendor name='Intel'/>