mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
cpu: Add cpu test cases for PPC CPU driver.
This patch is to add cpu test casses for PPC CPU driver. Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
This commit is contained in:
committed by
Daniel P. Berrange
parent
b2a68c99c4
commit
ceb2cec9aa
3
tests/cputestdata/ppc64-baseline-1-result.xml
Normal file
3
tests/cputestdata/ppc64-baseline-1-result.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='allow'>POWER7+_v2.1</model>
|
||||
</cpu>
|
||||
14
tests/cputestdata/ppc64-baseline-incompatible-vendors.xml
Normal file
14
tests/cputestdata/ppc64-baseline-incompatible-vendors.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<cpuTest>
|
||||
<cpu>
|
||||
<arch>ppc64</arch>
|
||||
<model>POWER7+_v2.1</model>
|
||||
<vendor>Intel</vendor>
|
||||
<topology sockets='2' cores='4' threads='1'/>
|
||||
</cpu>
|
||||
<cpu>
|
||||
<arch>ppc64</arch>
|
||||
<model>POWER8_v1.0</model>
|
||||
<vendor>Intel</vendor>
|
||||
<topology sockets='1' cores='1' threads='1'/>
|
||||
</cpu>
|
||||
</cpuTest>
|
||||
3
tests/cputestdata/ppc64-baseline-no-vendor-result.xml
Normal file
3
tests/cputestdata/ppc64-baseline-no-vendor-result.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='allow'>POWER7_v2.3</model>
|
||||
</cpu>
|
||||
7
tests/cputestdata/ppc64-baseline-no-vendor.xml
Normal file
7
tests/cputestdata/ppc64-baseline-no-vendor.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<cpuTest>
|
||||
<cpu>
|
||||
<arch>ppc64</arch>
|
||||
<model>POWER7_v2.3</model>
|
||||
<topology sockets='2' cores='4' threads='1'/>
|
||||
</cpu>
|
||||
</cpuTest>
|
||||
3
tests/cputestdata/ppc64-exact.xml
Normal file
3
tests/cputestdata/ppc64-exact.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<cpu match='exact'>
|
||||
<model>POWER8_v1.0</model>
|
||||
</cpu>
|
||||
4
tests/cputestdata/ppc64-guest-nofallback.xml
Normal file
4
tests/cputestdata/ppc64-guest-nofallback.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<cpu match='exact'>
|
||||
<model fallback='forbid'>POWER7_v2.1</model>
|
||||
<topology sockets='2' cores='4' threads='1'/>
|
||||
</cpu>
|
||||
4
tests/cputestdata/ppc64-guest.xml
Normal file
4
tests/cputestdata/ppc64-guest.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<cpu match='exact'>
|
||||
<model>POWER8_v1.0</model>
|
||||
<topology sockets='2' cores='4' threads='1'/>
|
||||
</cpu>
|
||||
5
tests/cputestdata/ppc64-host+guest,ppc_models-result.xml
Normal file
5
tests/cputestdata/ppc64-host+guest,ppc_models-result.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<arch>ppc64</arch>
|
||||
<model fallback='allow'>POWER8_v1.0</model>
|
||||
<vendor>IBM</vendor>
|
||||
</cpu>
|
||||
@@ -0,0 +1,5 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<arch>ppc64</arch>
|
||||
<model fallback='forbid'>POWER7_v2.1</model>
|
||||
<vendor>IBM</vendor>
|
||||
</cpu>
|
||||
6
tests/cputestdata/ppc64-host.xml
Normal file
6
tests/cputestdata/ppc64-host.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<cpu>
|
||||
<arch>ppc64</arch>
|
||||
<model>POWER7_v2.3</model>
|
||||
<vendor>IBM</vendor>
|
||||
<topology sockets='1' cores='64' threads='1'/>
|
||||
</cpu>
|
||||
3
tests/cputestdata/ppc64-strict.xml
Normal file
3
tests/cputestdata/ppc64-strict.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<cpu match='exact'>
|
||||
<model>POWER7_v2.3</model>
|
||||
</cpu>
|
||||
Reference in New Issue
Block a user