From nobody Tue Sep 9 19:08:47 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=reject dis=none) header.from=linux.ibm.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1747122358880435.34139659236064; Tue, 13 May 2025 00:45:58 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id DA87715ED; Tue, 13 May 2025 03:45:57 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 75FE5129E; Tue, 13 May 2025 03:44:29 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 31DF314E3; Tue, 13 May 2025 03:44:23 -0400 (EDT) Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 9152314CE for ; Tue, 13 May 2025 03:44:04 -0400 (EDT) Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54CIsdg2019219; Tue, 13 May 2025 07:44:04 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 46kpp7armw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 May 2025 07:44:03 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 54D5M11L016919; Tue, 13 May 2025 07:44:03 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 46jhh02469-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 May 2025 07:44:03 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 54D7i1uP51446174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 May 2025 07:44:01 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1E8B620076; Tue, 13 May 2025 07:44:01 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 18C802006A; Tue, 13 May 2025 07:43:57 +0000 (GMT) Received: from ltcblue8v9-lp1.aus.stglabs.ibm.com (unknown [9.40.192.91]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 13 May 2025 07:43:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=uErIgN1FZPRKPHauq 85NZZYWx0LV1AMEudPF7esqn2o=; b=blIjbua91rTL3nKTn5WR7JwF5rjCArHLV gBGoxB4+1YEcOz8rwWWG4AaiCrwnM7ewfe7gOrUNFetMcB/J/f1lluusbHRtgGZ9 i4Br33vxHyxrdtc5jsAqm8OgJmmf2vUdm9W8bb6Slsd4IWyLz8paMfBrx7b5kPNg EyXPogFQafBdlhIkfwpWTiVRJQyI1cgSz8Bqqp+ls0CTZpvSWgozK/G+pEoY6PFy C4ggWt0Zfayb+LzA0wwTI5oe2TIAqdPC0L8kLlsa2P8Gykfebh/RRuUflkgNSjUm 9BgXLaRdnL0ivXSg98bzvYaEu/2P3/AhTd4WT68lvt4+4nzSq1XkA== From: Narayana Murty N To: devel@lists.libvirt.org Subject: [PATCH v5 2/5] tests: qemuhotplugtest: Set the cpu version at source for PPC64 tests Date: Tue, 13 May 2025 03:43:23 -0400 Message-ID: <20250513074326.311636-3-nnmlinux@linux.ibm.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250513074326.311636-1-nnmlinux@linux.ibm.com> References: <20250513074326.311636-1-nnmlinux@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: K9neyvnGkR1iygB5wE4S-JL9phUcof4V X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTEzMDA3MSBTYWx0ZWRfX4bVX5l0mRvhi 0VesQNAmBgeWXgxS80I9ARj8AkTStP1YhPY16mKy39Jh7Kxqo2lCR3a3tr+NkcomLghlw/FBU6F qmzNOq9zKm9l7oXbnwUCDfe4KNc1cyXORDNVDF6xHbtRq4zt8JdlDvC7pvt0Axo7ziKX/61pHjl nHpI25ceKxnKOwZ1NVM0Ydoof+YwAzPomCI3JowKqh+KeX5eczkbAYgS/4FR6oMOzVPU8EfKqLy IxSG66sFk2n3aYyYN5PuVe6J76x4Y07mF+QKzIIgwV/0regYNlVboMJj2QLY+tULxmxziQIiPUx KwESIal+mh+6MzzNC887IRj5fTxX4/Z4UtQVQO3KjiOsHgl3W3IGh+QTZL3Uw5ky88HRehYFIPW KhTM/+jo5IjFYMcVpTjhNq3Dpj7ZusfIf3yzT0TNZq9JqStnUWKOeoQYFb+goFFeEv8U4CV+ X-Authority-Analysis: v=2.4 cv=ZY8dNtVA c=1 sm=1 tr=0 ts=6822f843 cx=c_pps a=5BHTudwdYE3Te8bg5FgnPg==:117 a=5BHTudwdYE3Te8bg5FgnPg==:17 a=dt9VzEwgFbYA:10 a=VnNF1IyMAAAA:8 a=20KFwNOVAAAA:8 a=bT28Vz-dpJ4zT4PVfsMA:9 X-Proofpoint-GUID: K9neyvnGkR1iygB5wE4S-JL9phUcof4V X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-12_07,2025-05-09_01,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1015 mlxscore=0 spamscore=0 impostorscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2504070000 definitions=main-2505130071 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: BQQT4J6IMUKUYFJYFRMPNHR26RTQ3OKG X-Message-ID-Hash: BQQT4J6IMUKUYFJYFRMPNHR26RTQ3OKG X-MailFrom: nnmlinux@linux.ibm.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0 CC: pkrempa@redhat.com, dbarboza@ventanamicro.com, abologna@redhat.com, jdenemar@redhat.com, dgibson@redhat.com X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1747122361607116600 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Peter Krempa --- tests/qemuhotplugtestcpus/ppc64-modern-bulk-domain.xml | 3 ++- tests/qemuhotplugtestcpus/ppc64-modern-individual-domain.xml | 3 ++- tests/qemuxmlconfdata/memory-hotplug-nvdimm-ppc64.xml | 3 ++- tests/qemuxmlconfdata/memory-hotplug-ppc64-nonuma.xml | 3 +++ 4 files changed, 9 insertions(+), 3 deletions(-) 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 @@ hvm - + + POWER9 destroy 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 @@ hvm - + + POWER9 destroy diff --git a/tests/qemuxmlconfdata/memory-hotplug-nvdimm-ppc64.xml b/tests/= qemuxmlconfdata/memory-hotplug-nvdimm-ppc64.xml index bf7df9a259..d0868db672 100644 --- a/tests/qemuxmlconfdata/memory-hotplug-nvdimm-ppc64.xml +++ b/tests/qemuxmlconfdata/memory-hotplug-nvdimm-ppc64.xml @@ -9,7 +9,8 @@ hvm - + + POWER9 diff --git a/tests/qemuxmlconfdata/memory-hotplug-ppc64-nonuma.xml b/tests/= qemuxmlconfdata/memory-hotplug-ppc64-nonuma.xml index 0623fde6ee..436a8d1895 100644 --- a/tests/qemuxmlconfdata/memory-hotplug-ppc64-nonuma.xml +++ b/tests/qemuxmlconfdata/memory-hotplug-ppc64-nonuma.xml @@ -9,6 +9,9 @@ hvm + + POWER9 + destroy restart --=20 2.48.1