From nobody Mon Feb 9 09:08:34 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1680183709; cv=none; d=zohomail.com; s=zohoarc; b=ItXjZ5iwf7NsiALbF+g5s9Gm06wPoTsymFrWDY/rC93poQjfDn+tpQ4iYg3QBehfHCIruu5dGGJEPLl2E3ziKvIltDzryGhw4kgulkaZZ08UMRu+3VB6Kr3SpU0K7+p8zgtMClEtM4OpYeeXzvMmyLi/25RCAAX2fY2cupn24fo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680183709; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Owv3GsfBPyoza/rdPfJwxioKQW9cmW7hp697qMiY7hk=; b=JKuqGPntCWpZ6dBCrMUBERdUEtqfkxCGvDUG8uodFu56c+cf4noUKECxvwH1MviHKFCZUOs1CdDcrqSvPDPmAgeeKkmNqibjKsZlsEQMddVzCm6WxxBb4atALpnW+HWurxGNoFWDamTz9xs0L8j5M2ZZyt9Pr86KbEYAz7K1NGw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1680183709470425.2485065848283; Thu, 30 Mar 2023 06:41:49 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-610-WlZdMwplMpKxg2Korw-FtA-1; Thu, 30 Mar 2023 09:41:42 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 31CF588B7AD; Thu, 30 Mar 2023 13:41:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1B4201121331; Thu, 30 Mar 2023 13:41:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 73662194E122; Thu, 30 Mar 2023 13:39:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 934F01946587 for ; Thu, 30 Mar 2023 13:38:50 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7E6A02166B34; Thu, 30 Mar 2023 13:38:50 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 05E882166B33 for ; Thu, 30 Mar 2023 13:38:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680183708; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Owv3GsfBPyoza/rdPfJwxioKQW9cmW7hp697qMiY7hk=; b=R26pIW1D7r5LmvcfB3pzf82p18svVDyt6RWDUx48nWYYUyQZU9GRRa0Y+3dohbM5fH6/r/ 94bXvnZEErcl/CNx0PsVFA5gR5ddJ0ZeNSjkjY36ZDQWi0YI4VD+hhOGZ8a/vauWJmFQSO OI8L+TGO+FWY8q5WWC6NS40NIsvBrT4= X-MC-Unique: WlZdMwplMpKxg2Korw-FtA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 24/31] qemuxml2argvtest: Add '4.2.0' version of 'pseries-features' test case Date: Thu, 30 Mar 2023 15:38:18 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1680183999947100001 Content-Type: text/plain; charset="utf-8" Add an example case showing that every feature in the 'pseries-features' test works also with the oldest supported qemu version. Signed-off-by: Peter Krempa --- .../pseries-features.ppc64-4.2.0.args | 30 +++++++++++++++++++ tests/qemuxml2argvtest.c | 1 + 2 files changed, 31 insertions(+) create mode 100644 tests/qemuxml2argvdata/pseries-features.ppc64-4.2.0.args diff --git a/tests/qemuxml2argvdata/pseries-features.ppc64-4.2.0.args b/tes= ts/qemuxml2argvdata/pseries-features.ppc64-4.2.0.args new file mode 100644 index 0000000000..7decaba057 --- /dev/null +++ b/tests/qemuxml2argvdata/pseries-features.ppc64-4.2.0.args @@ -0,0 +1,30 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/var/lib/libvirt/qemu/domain--1-guest \ +USER=3Dtest \ +LOGNAME=3Dtest \ +XDG_DATA_HOME=3D/var/lib/libvirt/qemu/domain--1-guest/.local/share \ +XDG_CACHE_HOME=3D/var/lib/libvirt/qemu/domain--1-guest/.cache \ +XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-guest/.config \ +/usr/bin/qemu-system-ppc64 \ +-name guest=3Dguest,debug-threads=3Don \ +-S \ +-object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-guest/master-key.aes \ +-machine pseries-4.2,usb=3Doff,resize-hpt=3Drequired,cap-hpt-max-page-size= =3D1048576k,cap-htm=3Don,cap-nested-hv=3Doff,cap-ccf-assist=3Don,cap-cfpc= =3Dfixed,cap-sbbc=3Dbroken,cap-ibs=3Dfixed-ccd,dump-guest-core=3Doff \ +-accel tcg \ +-cpu POWER9 \ +-m 512 \ +-overcommit mem-lock=3Doff \ +-smp 1,sockets=3D1,cores=3D1,threads=3D1 \ +-uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server=3Don,wait=3Doff \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-boot strict=3Don \ +-audiodev '{"id":"audio1","driver":"none"}' \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resource= control=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index a765de304d..6560bcfaab 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2001,6 +2001,7 @@ mymain(void) DO_TEST_CAPS_LATEST_PPC64("pseries-hostdevs-2"); DO_TEST_CAPS_LATEST_PPC64("pseries-hostdevs-3"); + DO_TEST_CAPS_ARCH_VER("pseries-features", "ppc64", "4.2.0"); DO_TEST_CAPS_LATEST_PPC64("pseries-features"); /* parse error: no QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE */ --=20 2.39.2