-
-
Save shivaprasadbhat/9ddffe81def00bcfd8e0ae2b3a1672a8 to your computer and use it in GitHub Desktop.
Example Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 14eadb4640f2eebdd4935ac31bafd5b810f8d2fb | |
| Author: Shivaprasad G Bhat <sbhat@linux.ibm.com> | |
| Date: Mon Feb 17 06:45:00 2025 -0500 | |
| tests: qemuhotplugtest: Set the cpu version at source for PPC64 tests | |
| 140ff3c5141 - commit fixated on the POWER9 in results xml which actually | |
| would be the host-cpu(TODO?) at the moment on the source tree. With updates to | |
| higher cpu versions this has to continuously be updated. Instead, update | |
| the test source domains to use POWER9(or any) as fixed version so | |
| that we dont need to keep updating this test results file with every | |
| cpu version bump-up | |
| diff --git a/tests/qemuhotplugtestcpus/ppc64-modern-bulk-domain.xml b/tests/qemuhotplugtestcpus/ppc64-modern-bulk-domain.xml | |
| index f7c754ccf7..abef39b130 100644 | |
| --- a/tests/qemuhotplugtestcpus/ppc64-modern-bulk-domain.xml | |
| +++ b/tests/qemuhotplugtestcpus/ppc64-modern-bulk-domain.xml | |
| @@ -8,7 +8,8 @@ | |
| <type arch='ppc64' machine='pseries'>hvm</type> | |
| <boot dev='network'/> | |
| </os> | |
| - <cpu> | |
| + <cpu mode='custom' match='exact' check='none'> | |
| + <model fallback='forbid'>POWER9</model> | |
| <topology sockets="1" cores="4" threads="8"/> | |
| </cpu> | |
| <on_poweroff>destroy</on_poweroff> | |
| diff --git a/tests/qemuhotplugtestcpus/ppc64-modern-individual-domain.xml b/tests/qemuhotplugtestcpus/ppc64-modern-individual-domain.xml | |
| index f7c754ccf7..abef39b130 100644 | |
| --- a/tests/qemuhotplugtestcpus/ppc64-modern-individual-domain.xml | |
| +++ b/tests/qemuhotplugtestcpus/ppc64-modern-individual-domain.xml | |
| @@ -8,7 +8,8 @@ | |
| <type arch='ppc64' machine='pseries'>hvm</type> | |
| <boot dev='network'/> | |
| </os> | |
| - <cpu> | |
| + <cpu mode='custom' match='exact' check='none'> | |
| + <model fallback='forbid'>POWER9</model> | |
| <topology sockets="1" cores="4" threads="8"/> | |
| </cpu> | |
| <on_poweroff>destroy</on_poweroff> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment