From nobody Mon Feb 9 05:20:58 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=1637253287; cv=none; d=zohomail.com; s=zohoarc; b=LqjMNj5jVCvXubb6fK8X2X2M7pKFV2gXxgEm1wRnm2l8LRhZ6xBnvD0eJuiu2VSuSEJhwo1EP5cCxQbDt1eaNwEyyXdwkf/VFb5/UEY+gWGL8hT+F6N5abpkIFytNW+esRmD73vHum9uzVehpGSNXUTc1ntbJ+zHoawwy81vQNU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1637253287; 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=fdyqSgjkb3GbXSOZ/+4UHgxqSX5z0vHROoAu724Bqdc=; b=RlH07FptpwGrXzdsImyzE0KZewIRGKJS4/vKZLJwmQ+LX7F5KAi0T8dCUXBGttFydPHO2bJ9q4/5KzRC+juqCBM3vhDJQ+keKK2eSyEIGFOujnKHU5NtWPkuRxsunlSiFCJ1mH4j1U59FUbQCr06RGz0RIML6fE0WWCWoT4r1OE= 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 1637253287345960.5877604785451; Thu, 18 Nov 2021 08:34:47 -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-400-oysQyUOSMHiSp9dWSDBPDw-1; Thu, 18 Nov 2021 11:34:44 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8B89BA40C1; Thu, 18 Nov 2021 16:34:39 +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 70E515D705; Thu, 18 Nov 2021 16:34:39 +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 13ADC4EA76; Thu, 18 Nov 2021 16:34:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1AIGYAI0028223 for ; Thu, 18 Nov 2021 11:34:10 -0500 Received: by smtp.corp.redhat.com (Postfix) id 0D1F9608BA; Thu, 18 Nov 2021 16:34:10 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.20]) by smtp.corp.redhat.com (Postfix) with ESMTP id 54E181B5C0 for ; Thu, 18 Nov 2021 16:34:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637253286; 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=fdyqSgjkb3GbXSOZ/+4UHgxqSX5z0vHROoAu724Bqdc=; b=WuIlyXxXB3w0QS7An5ifLYV/ZFyvW5zRUFE3lBqXvtTSN8zL/SrU5pm+371AeQvOy2naGj et5lxLFo94fsMqxN6cDP9ZHxUhNm1Mk3V6ZnGC2f47AjX2XPIRakKoBYApUvPRutDumSg+ KjuKZ/uCO6Zsf6xN5dtSWr2LuGr6+ts= X-MC-Unique: oysQyUOSMHiSp9dWSDBPDw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 14/16] qemuBuildStorageSourceAttachPrepare(Drive|Chardev): Unexport Date: Thu, 18 Nov 2021 17:33:39 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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.15 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: 1637253288178100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 4 ++-- src/qemu/qemu_command.h | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 60336947b5..f3b02d3438 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -11104,7 +11104,7 @@ qemuBuildHotpluggableCPUProps(const virDomainVcpuDe= f *vcpu) * Prepare qemuBlockStorageSourceAttachData *for use with the old approach * using -drive/drive_add. See qemuBlockStorageSourceAttachPrepareBlockdev. */ -qemuBlockStorageSourceAttachData * +static qemuBlockStorageSourceAttachData * qemuBuildStorageSourceAttachPrepareDrive(virDomainDiskDef *disk, virQEMUCaps *qemuCaps) { @@ -11127,7 +11127,7 @@ qemuBuildStorageSourceAttachPrepareDrive(virDomainD= iskDef *disk, * Prepare qemuBlockStorageSourceAttachData *for vhost-user disk * to be used with -chardev. */ -qemuBlockStorageSourceAttachData * +static qemuBlockStorageSourceAttachData * qemuBuildStorageSourceAttachPrepareChardev(virDomainDiskDef *disk) { g_autoptr(qemuBlockStorageSourceAttachData) data =3D NULL; diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h index c544c9ec67..7dec2cb4af 100644 --- a/src/qemu/qemu_command.h +++ b/src/qemu/qemu_command.h @@ -106,13 +106,6 @@ qemuBuildNicDevProps(virDomainDef *def, char *qemuDeviceDriveHostAlias(virDomainDiskDef *disk); bool qemuDiskBusIsSD(int bus); -qemuBlockStorageSourceAttachData * -qemuBuildStorageSourceAttachPrepareDrive(virDomainDiskDef *disk, - virQEMUCaps *qemuCaps); - -qemuBlockStorageSourceAttachData * -qemuBuildStorageSourceAttachPrepareChardev(virDomainDiskDef *disk); - int qemuBuildStorageSourceAttachPrepareCommon(virStorageSource *src, qemuBlockStorageSourceAttachData= *data); --=20 2.31.1