From nobody Sun Feb 8 14:59:26 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=1629217564; cv=none; d=zohomail.com; s=zohoarc; b=RrIQBhZJd859mvYVJ+bwR4jGAlmKOVpq3o3Hq5ZTZN0Ruw8KWoHUzWX3ipA3z1La9W4vewDuwyIOYv5ziLwXwUktmFgKYiK/0y9nTl3xpVSwSo3af5EoPen4ivtA5gLWvDkpmxovr8H/FK+Ai/dFqLLyMsRoiG01zNIppwL8B1k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629217564; 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=tDd7OjzVdN0n9+bU2oS6nXOiY5QWJO8JUsASvR1szC4=; b=HXfpTqOEAvkCb9APvHK+zeEucRkFwPLehR6emfxHNTi2Sh9521CulfVfWj/G2wkYQNa8icpuDdWsmt69Kh05Dc7Mih8CsI0USdq+gWz2DYjGlIAjgxlKK4zh16kFWTiUi7QlRO0+k1HGDld/RD9Wo7LdtRs+KS0I/eZ4ZBOER6M= 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 1629217564860537.389519302654; Tue, 17 Aug 2021 09:26:04 -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-590-8X9TtTHcMY21ua8JLjFs9Q-1; Tue, 17 Aug 2021 12:26:02 -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 35F26190B2A0; Tue, 17 Aug 2021 16:25:57 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 162C25C1D5; 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 D82DE4A700; Tue, 17 Aug 2021 16:25:56 +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 17HGPYnv020193 for ; Tue, 17 Aug 2021 12:25:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 43FFE1899A; Tue, 17 Aug 2021 16:25:34 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id A22A5421F for ; Tue, 17 Aug 2021 16:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629217563; 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=tDd7OjzVdN0n9+bU2oS6nXOiY5QWJO8JUsASvR1szC4=; b=cKtaN+disTBMkHbZmEgkk8x9OxBnHtudkj8ypkQ5PlrQqcocO9mmDJLaAB1p4YDJtcniPP KIxGqXQs98wYNLy3SqtrapX0lhxcEihsvIUfBLnlG8KBfhq3ib62LC+qDlgGfXlJoBOFo1 luqIHdSEerjuFvNp8rnIwjh2A2cdIw8= X-MC-Unique: 8X9TtTHcMY21ua8JLjFs9Q-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH v2 03/23] qemuxml2argvtest: Fix broken invocation of "pseries-spaprvio-invalid" Date: Tue, 17 Aug 2021 18:25:04 +0200 Message-Id: <53283f79b91e3e960c633506fe82a994c9cc2a33.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: 1629217566769100001 Content-Type: text/plain; charset="utf-8" The string "ppc64" 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 85973a2298..5977f77b86 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2412,7 +2412,7 @@ mymain(void) DO_TEST("pseries-console-virtio", QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE); DO_TEST_PARSE_ERROR("pseries-serial-invalid-machine", NONE); - DO_TEST_PARSE_ERROR("pseries-spaprvio-invalid", "ppc64"); + DO_TEST_PARSE_ERROR("pseries-spaprvio-invalid", NONE); DO_TEST("mach-virt-serial-native", QEMU_CAPS_DEVICE_PL011); --=20 2.31.1