From nobody Sat Feb 7 15:30:10 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 1643143792116522.2198336062621; Tue, 25 Jan 2022 12:49:52 -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-618-r-vuwONtOYmb3sLRN8gfxg-1; Tue, 25 Jan 2022 15:49:47 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 58DDD83DEA7; Tue, 25 Jan 2022 20:49:42 +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 339534D731; Tue, 25 Jan 2022 20:49:42 +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 04D764CA9B; Tue, 25 Jan 2022 20:49:42 +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 20PKneoc024184 for ; Tue, 25 Jan 2022 15:49:41 -0500 Received: by smtp.corp.redhat.com (Postfix) id AB2A240885AE; Tue, 25 Jan 2022 20:49:40 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A63CA40885C9 for ; Tue, 25 Jan 2022 20:49:40 +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 27FCB80B711 for ; Tue, 25 Jan 2022 20:49:34 +0000 (UTC) Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com [209.85.167.182]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-611-LAmclxJkNXSx86Vzr3ZfIw-1; Tue, 25 Jan 2022 15:49:22 -0500 Received: by mail-oi1-f182.google.com with SMTP id m9so19042815oia.12 for ; Tue, 25 Jan 2022 12:49:22 -0800 (PST) Received: from rekt.COMFAST ([191.8.61.226]) by smtp.gmail.com with ESMTPSA id ay32sm1368569oob.16.2022.01.25.12.49.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 12:49:21 -0800 (PST) X-MC-Unique: r-vuwONtOYmb3sLRN8gfxg-1 X-MC-Unique: LAmclxJkNXSx86Vzr3ZfIw-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=ARNHAalZ868QN3qxI1pdY4iGGSVL8VdzTAcwePTCXnY=; b=mwHQTI5OlH9QP/cU2tULuo3A8tBrhuIdxGY3DM+qeTEasbvW0MxT9yH4W8aEqpyCL3 K8h3ZEF2h+IkDGMRtUfHHq2506r6FWmFbhp+HRlQ1a8avvQu0rB8KYGmkzD7akH1Tdop AgCIgPZ/kJi9LTG4VnU9Z+F2ZV1MDTAa7dJSMLrK6uWJINzi2TkmllT4KxQ7nng/Uo/i gZIfGRDaV9Xx4pT/sowDpBs1o940+vViRm7UMPLL7gKm5ik35GtTNW1HpLjB9viODunt 2AwH1BjUgzXX60PyIo4YkwWPW8XvoXMXzfGV3rJGPcOg0HG8kHnmW8wwVIRnnxjBPcn5 QFWg== X-Gm-Message-State: AOAM533UXQ3CEUG59ahDcYqM9pg4Bkca3YA0BjNw4Z5pn1TW4j7s103h oI6kQxcoWHEbnXTiGav56+cfAGnc+hA= X-Google-Smtp-Source: ABdhPJxHgvlPI6dTMLThlDUGDzs8UdGw4eKzR3Nnr4POcce+v8kU872vQ3FsB8i9O0CEjdZo9ZdlrQ== X-Received: by 2002:a05:6808:200f:: with SMTP id q15mr949060oiw.104.1643143761387; Tue, 25 Jan 2022 12:49:21 -0800 (PST) From: Daniel Henrique Barboza To: libvir-list@redhat.com Subject: [PATCH v2 03/29] qemu_domain: turn qemuDomainMachineIsPSeries() static Date: Tue, 25 Jan 2022 17:48:36 -0300 Message-Id: <20220125204902.772350-4-danielhb413@gmail.com> In-Reply-To: <20220125204902.772350-1-danielhb413@gmail.com> References: <20220125204902.772350-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: 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.79 on 10.5.11.13 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: 1643143793825100001 Content-Type: text/plain; charset="utf-8" The function is now unused outside of qemu_domain.c. Reviewed-by: Peter Krempa Signed-off-by: Daniel Henrique Barboza Reviewed-by: J=C3=A1n Tomko --- src/qemu/qemu_domain.c | 2 +- src/qemu/qemu_domain.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 2e21a95f38..98a6a2657d 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -8631,7 +8631,7 @@ qemuDomainMachineIsRISCVVirt(const char *machine, =20 /* You should normally avoid this function and use * qemuDomainIsPSeries() instead. */ -bool +static bool qemuDomainMachineIsPSeries(const char *machine, const virArch arch) { diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index d07a279a1b..fe4420bf83 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -759,8 +759,6 @@ virDomainChrDef *qemuFindAgentConfig(virDomainDef *def); * doesn't have "Machine" in the name instead. */ bool qemuDomainMachineIsARMVirt(const char *machine, const virArch arch); -bool qemuDomainMachineIsPSeries(const char *machine, - const virArch arch); bool qemuDomainMachineIsPowerPC(const char *machine, const virArch arch); bool qemuDomainMachineHasBuiltinIDE(const char *machine, --=20 2.34.1