From nobody Mon Sep 16 19:46:13 2024 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=1693924112; cv=none; d=zohomail.com; s=zohoarc; b=FaXHRFE9/bCVIzEdf1GlJHltcoOL3Zbfwx9Ur3tGubt0DbANS4vHEhNLtmyV2juPUfFBaBpVT7LNUnNdbR+JgqGnJWXhuaCct8gTmyyT5CBXjs8l/nuor4GENJpSq0kpUYhEKUgXRX0So4VSMzrqhGRXfWXvtsrmIxZsv9L4HdA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693924112; 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=ojki4gE32ahCrRD6jqMBqOLLfShbdDRCie8bCj2R6KA=; b=QDn/1FWYm6FUs7VuaV6MKZAk8/YD3i+me4TmtZrOpveogAbMAlsCu3G5o233vm6nChAHVNzaT3BknOCJz7ovBtOh44qJSb2Qlne8QevJDy9JYLuo7NEMuqHPKvr2IfOC/SmFCimeowE4O/Iaswtv3fGuY0Hkrhz9LxHHL3Vsows= 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 16939241119974.525506327057087; Tue, 5 Sep 2023 07:28:31 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx-ext.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-593-3aF0rgI7NeewIEoxDR12FA-1; Tue, 05 Sep 2023 10:26:05 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B24D9280BC48; Tue, 5 Sep 2023 14:25:15 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D89F21EE566; Tue, 5 Sep 2023 14:25:15 +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 8F1BB1946595; Tue, 5 Sep 2023 14:25:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 837691946A47 for ; Tue, 5 Sep 2023 14:25:14 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7536F1121319; Tue, 5 Sep 2023 14:25:14 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id CC5201121314 for ; Tue, 5 Sep 2023 14:25:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693924110; 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=ojki4gE32ahCrRD6jqMBqOLLfShbdDRCie8bCj2R6KA=; b=fIeYzIFfIRTy0MTh8wC/a3lelCDbNMdDPNF4r5PxQy9q4FIxncFX62E0Du9W+jJZHCf3BD pwIzupGflhq0ahO9kaR1j+nOtN3vZ6r7ghUGQjKQ/szwV/v5C9/OcQkKkIjOMUXJRQGMO8 NRvDYh5LxX04Gtj82sFh0+P/xic9rY8= X-MC-Unique: 3aF0rgI7NeewIEoxDR12FA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 49/51] qemu: capabilities: Unexport 'virQEMUCapsAddMachine' Date: Tue, 5 Sep 2023 16:24:16 +0200 Message-ID: <3517df533b4dd959264120d7c7b086e4fb13cd6c.1693923601.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 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.6 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: 1693924113706100001 Content-Type: text/plain; charset="utf-8" It's no longer needed in tests as we are no longer adding fake machines. Signed-off-by: Peter Krempa --- src/qemu/qemu_capabilities.c | 2 +- src/qemu/qemu_capspriv.h | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index bd6a32b815..7b5f59e0f1 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -2738,7 +2738,7 @@ static const char *preferredMachines[] =3D G_STATIC_ASSERT(G_N_ELEMENTS(preferredMachines) =3D=3D VIR_ARCH_LAST); -void +static void virQEMUCapsAddMachine(virQEMUCaps *qemuCaps, virDomainVirtType virtType, const char *name, diff --git a/src/qemu/qemu_capspriv.h b/src/qemu/qemu_capspriv.h index be83b13ab5..06b36d2eb8 100644 --- a/src/qemu/qemu_capspriv.h +++ b/src/qemu/qemu_capspriv.h @@ -103,19 +103,5 @@ virQEMUCapsStripMachineAliases(virQEMUCaps *qemuCaps); bool virQEMUCapsHasMachines(virQEMUCaps *qemuCaps); -void -virQEMUCapsAddMachine(virQEMUCaps *qemuCaps, - virDomainVirtType virtType, - const char *name, - const char *alias, - const char *defaultCPU, - int maxCpus, - bool hotplugCpus, - bool isDefault, - bool numaMemSupported, - const char *defaultRAMid, - bool deprecated, - virTristateBool acpi); - bool virQEMUCapsHaveAccel(virQEMUCaps *qemuCaps); --=20 2.41.0