From nobody Sun Feb 8 20:13:27 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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.129.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=1629217566; cv=none; d=zohomail.com; s=zohoarc; b=cp1gg7YG5wN3wFJiUNrHMCdug8+KC8d7ZS2ST56VfLW10yjduBOoy7PzHCEnovKOAWIhPDdqL5w6Bm2X16GjcMW1zzWKVcQcf0MOxN1BaahQEX2cTVmALfVSoXK+aPiBrTNs2li2zXc1AWpDjtgKqGKzKtYNR3vOcfWtGcmURFU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629217566; 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=mo01QzwZrJiQD+C8qYIv8Ciw/rQoThUsHSJTkJ0ly24=; b=P17j8kcF/UhELK1CmyX46DG2yGlPJwV1d3HmZY7vShFRgzp1UELFtCBF74t5SB4rkXthX6y5C7js/gcUHISnq/VPjhibA8Nu/F9onhMMMHLfZCKRdLbzmROcuHviJGFbiDOBO7ujcLxcQoopAGsztxa0aOB9W4e504kWDQ3tl8A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.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.129.124]) by mx.zohomail.com with SMTPS id 1629217566252945.0686788768908; Tue, 17 Aug 2021 09:26:06 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-5-oLczZQfDM_ihsgMqiGGCJQ-1; Tue, 17 Aug 2021 12:26:03 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EFD37100CF70; Tue, 17 Aug 2021 16:25:57 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D40DC68D99; Tue, 17 Aug 2021 16:25:57 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A603B181A2AA; Tue, 17 Aug 2021 16:25:57 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17HGPZWC020217 for ; Tue, 17 Aug 2021 12:25:35 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6808F421F; Tue, 17 Aug 2021 16:25:35 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id BE68818B42 for ; Tue, 17 Aug 2021 16:25:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629217565; 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=mo01QzwZrJiQD+C8qYIv8Ciw/rQoThUsHSJTkJ0ly24=; b=Bea8BEV8jEcFhwFQi199yM+3dAd7ZDyxvyXbWhH3mUtTdNK1Pnuo79s5S9kJulx33A4OWu 7UrP+RPoKIhbShlsGO5secqFY7yZQ65MzxxOKIffETN2MDNDb9jNjzHAIY5xmVfFYGrb8Q J1X3iWn+RSnlp4tDCviPMvIg+taubuM= X-MC-Unique: oLczZQfDM_ihsgMqiGGCJQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH v2 04/23] qemuxml2argvtest: Fix broken invocation of "aarch64-tpm-wrong-model" Date: Tue, 17 Aug 2021 18:25:05 +0200 Message-Id: <47d39f3030d314c00fa47f3e7684751a82b27fc0.1629217367.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com 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: 1629217567068100003 Content-Type: text/plain; charset="utf-8" The string "aarch64" is passed in place of capability flags. We were lucky that the pointer was always more than QEMU_CAPS_LAST. Signed-off-by: Peter Krempa --- tests/qemuxml2argvtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 5977f77b86..6a3fa4c152 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2571,7 +2571,7 @@ mymain(void) DO_TEST_CAPS_LATEST("tpm-emulator-tpm2-pstate"); DO_TEST_CAPS_LATEST_PPC64("tpm-emulator-spapr"); DO_TEST_CAPS_ARCH_LATEST("aarch64-tpm", "aarch64"); - DO_TEST_PARSE_ERROR("aarch64-tpm-wrong-model", "aarch64"); + DO_TEST_PARSE_ERROR("aarch64-tpm-wrong-model", NONE); DO_TEST_PARSE_ERROR("pci-domain-invalid", NONE); DO_TEST_PARSE_ERROR("pci-bus-invalid", NONE); --=20 2.31.1