]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemuhotplugtest: Set the cpu version at source for PPC64 tests
authorNarayana Murty N <nnmlinux@linux.ibm.com>
Tue, 13 May 2025 07:43:23 +0000 (03:43 -0400)
committerJán Tomko <jtomko@redhat.com>
Thu, 22 May 2025 13:23:22 +0000 (15:23 +0200)
commit1c077f6a733f0b128d664352c242a926ea8aca7a
tree5bb7a47ada2d80704b1ed99f9ce6eee63e927fec
parent0742b6487af6e1c1a890fa7d5d008a423a067687
tests: qemuhotplugtest: Set the cpu version at source for PPC64 tests

Commit 140ff3c5141 ("tests: qemuhotplugtest: Fix arch-specific parts of
'ppc64' test XMLs") hardcoded the CPU model as POWER9 in the test result
XMLs. However, this value actually reflects the host CPU model detected
at build or test time, and can vary depending on the machine where the
tests run.

As newer POWER CPU models (e.g., POWER10, POWER11) become common, this
requires continuous updates to the test result files to match the CPU
version detected on the host. This adds unnecessary maintenance effort.

Fix this by updating the test source domain XMLs to specify POWER9 (or
any fixed version) as the CPU model. This ensures the test result files
stay stable and do not require updates every time a newer CPU is used on
the host system.

Signed-off-by: Narayana Murty N <nnmlinux@linux.ibm.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuhotplugtestcpus/ppc64-modern-bulk-domain.xml
tests/qemuhotplugtestcpus/ppc64-modern-individual-domain.xml
tests/qemuxmlconfdata/memory-hotplug-nvdimm-ppc64.xml
tests/qemuxmlconfdata/memory-hotplug-ppc64-nonuma.xml