From nobody Mon Feb 9 01:21:59 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=1677853819; cv=none; d=zohomail.com; s=zohoarc; b=ZYUoIzWHdnHuhyRhWvxeDEeDqohHsrMFwyUq+zt9Co7PrP/PbKLMHrzDmrf6Iym1/TfBuEG2OPQGElMO+juY+E2Ek3gjn3KrzyNZcdbGryFpRMlsirTFt2PA+OpePQnJDBF+gS1e0XztBVV/LHWBPcphge3ZFESDQMsJRyL6N3A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677853819; 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=eXELWpPz4ByQbSk6hpgOKZ8OY542R71tqTAtZRVXkZs=; b=cYEbtDmlDPhrhw3lZ4cjoQj+PKgdwqGaAovjkJTt41WYC03FbKIao+efHaxtb4/Rbexd7ezGffcJRwIDggMkC1eRaWSE2j1iZsF358mqqRkIvae8wPDGbaYvgmdA3gZ639c/gd/q6MW19WZRCSLu4o6DXH41OqP5a5vbTyxRQiQ= 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 167785381944653.36457299364815; Fri, 3 Mar 2023 06:30:19 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-169-cOVRY6YwOXi1VWjMWzSsEQ-1; Fri, 03 Mar 2023 09:28:30 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 33C902805597; Fri, 3 Mar 2023 14:28:24 +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 1FFF7400F8FA; Fri, 3 Mar 2023 14:28:24 +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 CE2601948646; Fri, 3 Mar 2023 14:28:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 885631943422 for ; Fri, 3 Mar 2023 14:28:14 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 6EDC6403570D; Fri, 3 Mar 2023 14:28:14 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id E8C90403570C for ; Fri, 3 Mar 2023 14:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677853817; 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=eXELWpPz4ByQbSk6hpgOKZ8OY542R71tqTAtZRVXkZs=; b=bMRx8ToqAYqxGyArk+1JDXjEL1Uhck0l22ewlvoRJN1nz+KVwkYaaYbIhZV8gKvlUU5Duq Ptr2ldWy3erfBJuWDgJ8q8LefOVkANAStqTVJEeWa8aZgwtXoOU9GhqI17dndCsCHoSD3W hCpZyM7oe/aAfS40LRbJj0wqlGpYNMw= X-MC-Unique: cOVRY6YwOXi1VWjMWzSsEQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 07/31] qemuxml2argvtest: Convert 'sparc-minimal' case to DO_TEST_CAPS_ARCH_LATEST Date: Fri, 3 Mar 2023 15:27:41 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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.2 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: 1677853821256100001 Content-Type: text/plain; charset="utf-8" Convert the only outstanding test case for a 'sparc' machine to modern test infrastructure. 'sparc' machine type also needs to be added to the list of supported arches in testQemuGetLatestCaps. Signed-off-by: Peter Krempa --- .../{sparc-minimal.args =3D> sparc-minimal.sparc-latest.args} | 1 + tests/qemuxml2argvtest.c | 3 +-- tests/testutilsqemu.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename tests/qemuxml2argvdata/{sparc-minimal.args =3D> sparc-minimal.sparc= -latest.args} (95%) diff --git a/tests/qemuxml2argvdata/sparc-minimal.args b/tests/qemuxml2argv= data/sparc-minimal.sparc-latest.args similarity index 95% rename from tests/qemuxml2argvdata/sparc-minimal.args rename to tests/qemuxml2argvdata/sparc-minimal.sparc-latest.args index 63930f20c4..75c33631cf 100644 --- a/tests/qemuxml2argvdata/sparc-minimal.args +++ b/tests/qemuxml2argvdata/sparc-minimal.sparc-latest.args @@ -32,4 +32,5 @@ XDG_CONFIG_HOME=3D/tmp/lib/domain--1-redhat62sparc/.confi= g \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw"= ,"file":"libvirt-1-storage"}' \ -device scsi-cd,bus=3Dscsi.0,scsi-id=3D1,device_id=3Ddrive-scsi0-0-0-1,dri= ve=3Dlibvirt-1-format,id=3Dscsi0-0-0-1 \ -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 4aecbe57f6..90d96f2109 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2780,8 +2780,7 @@ mymain(void) QEMU_CAPS_OBJECT_GPEX, QEMU_CAPS_NEC_USB_XHCI); - DO_TEST("sparc-minimal", - QEMU_CAPS_SCSI_NCR53C90); + DO_TEST_CAPS_ARCH_LATEST("sparc-minimal", "sparc"); DO_TEST_CAPS_LATEST_PARSE_ERROR("missing-machine"); diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index 588abf662d..6d2d2dc83e 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -777,6 +777,7 @@ testQemuGetLatestCaps(void) "riscv64", "s390x", "x86_64", + "sparc", }; g_autoptr(GHashTable) capslatest =3D virHashNew(g_free); size_t i; --=20 2.39.2