From nobody Sun Dec 14 06:19:58 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 1751253757953826.6532144959727; Sun, 29 Jun 2025 20:22:37 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 124371352; Sun, 29 Jun 2025 23:22:37 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id E63F91485; Sun, 29 Jun 2025 23:20:07 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 0870812CE; Sun, 29 Jun 2025 23:19:55 -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 2832412D2 for ; Sun, 29 Jun 2025 23:19:54 -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 55TIFwhV032170; Mon, 30 Jun 2025 03:19:53 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 47j82feqm2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jun 2025 03:19:53 +0000 (GMT) Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 55U0A8ti012043; Mon, 30 Jun 2025 03:19:52 GMT Received: from smtprelay06.dal12v.mail.ibm.com ([172.16.1.8]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 47jv7mkxmq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jun 2025 03:19:52 +0000 Received: from smtpav05.wdc07v.mail.ibm.com (smtpav05.wdc07v.mail.ibm.com [10.39.53.232]) by smtprelay06.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 55U3Jqq211403782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Jun 2025 03:19:52 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D5EE45805D; Mon, 30 Jun 2025 03:19:51 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5E9C458053; Mon, 30 Jun 2025 03:19:51 +0000 (GMT) Received: from li-d664314c-3171-11b2-a85c-fa8047ef35bd.ibm.com.com (unknown [9.67.116.154]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTP; Mon, 30 Jun 2025 03:19:51 +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_H4,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=j39UgAl81FlSftb3c 79ZaYgjQ2jSwoH0sWOo+AFrnuc=; b=SqDkQSS1woTnmdcXxfisCH4/Knb7w3OsL OjzmRrcEBREmkgcMxAD164+PXuu3OIpbI+xnI6ptqcuJ8otQ9C2OPmuDM65QW1Xe KNTptXiiT7A7k/RAbV8HShqV0v4nHV3Q4geScaS883T4myHmCLO9Kw7goMSAv+7f BMthR0zEfmABj1iwh0GhSJ2bUpEruG2xXpf7CZzgenwjyso05oCu8vat6KDzabWv MLnAMEWcRIVFSOiiC34gBnrISTms0FVCo6PTB9C9S9UeH0iNrMCRr6jyd97+Y7et jXUHEeQ+ZX3ICDPzDA8vbwzg/CZruodTS7PxsQuowhGmFCbhGWkKA== From: Collin Walling To: devel@lists.libvirt.org Subject: [PATCH v5 4/5] tests: new qemuxmlactive tests for s390x Date: Sun, 29 Jun 2025 23:19:29 -0400 Message-ID: <20250630031930.950021-5-walling@linux.ibm.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250630031930.950021-1-walling@linux.ibm.com> References: <20250630031930.950021-1-walling@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: c4E2LHtQGUIMuNkiK5i6aCrMk61Ahrv_ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjMwMDAyNiBTYWx0ZWRfXxnNUjQK3ennH xm1j0c4aKSY1wiViPqWXyj8LzjyN+blSqBPURSU4s/525MlKKCIlA+jpwO0oGasu7YVrM8gH+mB Oq6g8WalkLE32is1H5hjRXTdqW3+YCCzvn/M0ioTm6GOrMdUGQa06ElysKYJD6dZgg/djdHEanD nMW4Y7gABRztOSA1+I3hnjcCB1YUenT0msG/1CBDNfSYoYqPbAgkNQySh/qpidlkqMIXzlBtX7C I/x3c4t17Ruf6cPm5Xu35MpmSppwMz2n45OT1U9oGRpyV4yqss1STZCoKqnVuS1SWhh7Cih95rm 35DMtfuseZSaDEGEfg1UwfmmMvjldLQisG52QxPMPh+qcZpdQAiSdw5/Sw3CcFYrgQ8/9nh8BWk Ks0pf54ldJlRABeuN/1hWD12TOmbwGkRpwpDhxuv1Iya3wTRMI9o2x7sxs60PWrV6441xRll X-Authority-Analysis: v=2.4 cv=LpeSymdc c=1 sm=1 tr=0 ts=68620259 cx=c_pps a=3Bg1Hr4SwmMryq2xdFQyZA==:117 a=3Bg1Hr4SwmMryq2xdFQyZA==:17 a=6IFa9wvqVegA:10 a=VnNF1IyMAAAA:8 a=xQk_qFyJGeju4DOV7U0A:9 X-Proofpoint-GUID: c4E2LHtQGUIMuNkiK5i6aCrMk61Ahrv_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-06-27_05,2025-06-27_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 impostorscore=0 mlxscore=0 mlxlogscore=999 phishscore=0 suspectscore=0 malwarescore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506300026 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: FFZIIZQZMANNO45FEOXU7B6SXWL3VBO6 X-Message-ID-Hash: FFZIIZQZMANNO45FEOXU7B6SXWL3VBO6 X-MailFrom: walling@linux.ibm.com 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: pkrempa@redhat.com, fiuczy@linux.ibm.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: 1751253758574116600 Content-Type: text/plain; charset="utf-8" From: Boris Fiuczynski Add tests for active/inactive XML with deprecated_features attribute. Note that for the qemuxmlactivetest, it is not possible to test an inactive guest XML with the absence of "deprecated_features" attribute and expect the active XML to have the attribute present. This is due to the fact that the tests never touch the code path in qemu_process that trigger this change in the domain definition. Signed-off-by: Boris Fiuczynski Reviewed-by: Collin Walling --- ...cated-features-off-active.s390x-latest.xml | 25 +++++++++++++++ ...ted-features-off-inactive.s390x-latest.xml | 25 +++++++++++++++ ...ecated-features-on-active.s390x-latest.xml | 25 +++++++++++++++ ...ated-features-on-inactive.s390x-latest.xml | 25 +++++++++++++++ tests/qemuxmlactivetest.c | 10 ++++-- ...deprecated-features-none.s390x-latest.args | 32 +++++++++++++++++++ ...-deprecated-features-none.s390x-latest.xml | 25 +++++++++++++++ .../cpu-model-deprecated-features-none.xml | 15 +++++++++ tests/qemuxmlconftest.c | 1 + 9 files changed, 181 insertions(+), 2 deletions(-) create mode 100644 tests/qemuxmlactive2xmldata/cpu-model-deprecated-featur= es-off-active.s390x-latest.xml create mode 100644 tests/qemuxmlactive2xmldata/cpu-model-deprecated-featur= es-off-inactive.s390x-latest.xml create mode 100644 tests/qemuxmlactive2xmldata/cpu-model-deprecated-featur= es-on-active.s390x-latest.xml create mode 100644 tests/qemuxmlactive2xmldata/cpu-model-deprecated-featur= es-on-inactive.s390x-latest.xml create mode 100644 tests/qemuxmlconfdata/cpu-model-deprecated-features-non= e.s390x-latest.args create mode 100644 tests/qemuxmlconfdata/cpu-model-deprecated-features-non= e.s390x-latest.xml create mode 100644 tests/qemuxmlconfdata/cpu-model-deprecated-features-non= e.xml diff --git a/tests/qemuxmlactive2xmldata/cpu-model-deprecated-features-off-= active.s390x-latest.xml b/tests/qemuxmlactive2xmldata/cpu-model-deprecated-= features-off-active.s390x-latest.xml new file mode 100644 index 0000000000..c5761b1f89 --- /dev/null +++ b/tests/qemuxmlactive2xmldata/cpu-model-deprecated-features-off-active.= s390x-latest.xml @@ -0,0 +1,25 @@ + + guest + 22782664-6b93-46bf-9595-317220dd2d1c + 219100 + 219100 + 1 + + hvm + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-s390x + +