From nobody Sun Feb 8 01:30:18 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; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com 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 1642686792656300.3359529149991; Thu, 20 Jan 2022 05:53:12 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-658-zqIF4LERM8W_kE3rD9h1FQ-1; Thu, 20 Jan 2022 08:53:09 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 72F2083DD20; Thu, 20 Jan 2022 13:53:04 +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 2C58F109004F; Thu, 20 Jan 2022 13:53:04 +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 9FBB54BB7C; Thu, 20 Jan 2022 13:53:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20KDr1hZ008826 for ; Thu, 20 Jan 2022 08:53:01 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7FA08404728F; Thu, 20 Jan 2022 13:53:01 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7BA1D4047286 for ; Thu, 20 Jan 2022 13:53:01 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 63E5A811E78 for ; Thu, 20 Jan 2022 13:53:01 +0000 (UTC) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-639-Bo9GyXY9ONiQMAafGK4TCw-1; Thu, 20 Jan 2022 08:52:59 -0500 Received: by mail-oi1-f179.google.com with SMTP id s22so8911297oie.10 for ; Thu, 20 Jan 2022 05:52:58 -0800 (PST) Received: from rekt.COMFAST ([191.8.61.226]) by smtp.gmail.com with ESMTPSA id a26sm1574102oiy.26.2022.01.20.05.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 05:52:58 -0800 (PST) X-MC-Unique: zqIF4LERM8W_kE3rD9h1FQ-1 X-MC-Unique: Bo9GyXY9ONiQMAafGK4TCw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0FglLvTsVpficFCRMAOS+rhDSzCa98yWcUa4YgQMQ+s=; b=XNx6cotwnvXtdaWgkWgCCFuit40ZvZF2A2M2LJKA1/yZq5bfsEe/7yLCDxTDoan9B8 ZF3A4zVWTkfoVYUJAlXXBw0P8NSUq2SvmA6Kx2z7UQI7rtsigjnKGuQlsHi8OuylO+G7 YrJdNq2Ub7cXSMNwaaXKxJ5dum2R5rKBQQfpRfhU4OPFiZHsAWIWS8SgipXzKz5aF7tK b2/CQxczTQJSeg9h/jPHmerzD1Dz4qo6yldOQfqhG/pgiZuNtkUd7rLmA8xZP7mGb+qp Ut48Y3xIO38QaTe2ACWSfuSX+g0D0E8zHwFH2fUhZo5cApjkuVSUpDFqS5MGZYvhwwAE z0gA== X-Gm-Message-State: AOAM530f3vsHQ3nScQ2cQArD0OZhl75N2UCmkf0vnQbvk3k+Oa8jXIB0 a00+Vz0/f7Dt6fuilGzccAUoSjJ3+eA= X-Google-Smtp-Source: ABdhPJzrdZOK0hIwQeDxFBUWOT9i+tIi7PuCl8hSPWlLbjqvff3FWsw+mZCZRFXTOCzLKPCmbwj1ZA== X-Received: by 2002:a05:6808:115:: with SMTP id b21mr7463633oie.7.1642686778229; Thu, 20 Jan 2022 05:52:58 -0800 (PST) From: Daniel Henrique Barboza To: libvir-list@redhat.com Subject: [PATCH 04/33] qemu_validate.c: use qemuDomainIsPowerPC() in qemuValidateDomainChrDef() Date: Thu, 20 Jan 2022 10:52:07 -0300 Message-Id: <20220120135236.719924-5-danielhb413@gmail.com> In-Reply-To: <20220120135236.719924-1-danielhb413@gmail.com> References: <20220120135236.719924-1-danielhb413@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-loop: libvir-list@redhat.com Cc: fbarrat@linux.ibm.com, danielhb413@gmail.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.84 on 10.5.11.22 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-ZM-MESSAGEID: 1642686793691100001 Content-Type: text/plain; charset="utf-8" Both PowerNV and pSeries machines don't support parallel ports. Signed-off-by: Daniel Henrique Barboza --- src/qemu/qemu_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c index ae0ee4e744..da41848761 100644 --- a/src/qemu/qemu_validate.c +++ b/src/qemu/qemu_validate.c @@ -2007,7 +2007,7 @@ qemuValidateDomainChrDef(const virDomainChrDef *dev, return -1; =20 if (dev->deviceType =3D=3D VIR_DOMAIN_CHR_DEVICE_TYPE_PARALLEL && - (ARCH_IS_S390(def->os.arch) || qemuDomainIsPSeries(def))) { + (ARCH_IS_S390(def->os.arch) || qemuDomainIsPowerPC(def))) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("parallel ports are not supported")); return -1; --=20 2.34.1