aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2011-12-21 14:27:16 +0100
committerJiri Denemark <jdenemar@redhat.com>2012-01-17 11:39:19 +0100
commita6f88cbd2d50596ec0a2e9d1bd6fedcaef8e904e (patch)
treedc1c68273eb4bad72d07047e015552164650928e /tests/cputestdata/x86-host+guest,model486-result.xml
parenttests: Print XML file name in verbose CPU test (diff)
downloadlibvirt-a6f88cbd2d50596ec0a2e9d1bd6fedcaef8e904e.tar.gz
libvirt-a6f88cbd2d50596ec0a2e9d1bd6fedcaef8e904e.tar.bz2
libvirt-a6f88cbd2d50596ec0a2e9d1bd6fedcaef8e904e.zip
cpu: Optionally forbid fallback CPU models
In case a hypervisor doesn't support the exact CPU model requested by a domain XML, we automatically fallback to a closest CPU model the hypervisor supports (and make sure we add/remove any additional features if needed). This patch adds 'fallback' attribute to model element, which can be used to disable this automatic fallback.
Diffstat (limited to 'tests/cputestdata/x86-host+guest,model486-result.xml')
-rw-r--r--tests/cputestdata/x86-host+guest,model486-result.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cputestdata/x86-host+guest,model486-result.xml b/tests/cputestdata/x86-host+guest,model486-result.xml
index fb1bb4b95..9fd67eb1a 100644
--- a/tests/cputestdata/x86-host+guest,model486-result.xml
+++ b/tests/cputestdata/x86-host+guest,model486-result.xml
@@ -1,6 +1,6 @@
<cpu match='exact'>
<arch>x86_64</arch>
- <model>486</model>
+ <model fallback='allow'>486</model>
<feature policy='require' name='svm'/>
<feature policy='require' name='lahf_lm'/>
<feature policy='require' name='3dnowext'/>