From nobody Sun Feb 8 05:42:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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.129.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=1642437659; cv=none; d=zohomail.com; s=zohoarc; b=CCXKYEhQX3iCL7R0Afu1eXIp1vaplfZRGaFK7TsRNbOi+IyFL5fmqEvFHqXpKB4FsKbiHxYKDjQe0dBQlZWxkWjm/NqQjpRaBwhXxYnxUfDH3blaYKMTV1YqsQmL4RjZwvvJGrlNh/7LnZUOzgsPnKOF04S6AwgCQpWqx0iNKek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642437659; 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=Y9kCBuSzmerNn/fVaSIK5HGXE4D2rwxkDsm+hb2cCOQ=; b=WDtg5fH9C/xxX2QREtbKFxCocw/fOttORwCnpxl44dRw0q9GB2MVEHjp9cFbgJ4kpoG4eqf8p57TiRufj4e9eaZaBqRgW4+RL0vDk39JglAz/RRM2G9vU/y9eW4OAwk+IQfPiT2LzHdt9QAT+tJPfyWfmQ4peo3PndPyuwouxuE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.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.129.124]) by mx.zohomail.com with SMTPS id 1642437659725843.921276300554; Mon, 17 Jan 2022 08:40:59 -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-107-CDuMXc-1O169WJit6YiEpA-1; Mon, 17 Jan 2022 11:40:55 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 266EE64171; Mon, 17 Jan 2022 16:40:50 +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 F3CBB2E020; Mon, 17 Jan 2022 16:40:49 +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 BF6924A7CD; Mon, 17 Jan 2022 16:40:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20HGeklv006692 for ; Mon, 17 Jan 2022 11:40:46 -0500 Received: by smtp.corp.redhat.com (Postfix) id B10E610A48CB; Mon, 17 Jan 2022 16:40:46 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3A21410A48CA for ; Mon, 17 Jan 2022 16:40:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642437658; 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=Y9kCBuSzmerNn/fVaSIK5HGXE4D2rwxkDsm+hb2cCOQ=; b=iH4TL+pPm2RB5Vc2TKgrQCuZGos7AyfRGW3rfNJRbF2FADmF5gWxnzfYH/nORaQfrGyV4i ErQh/fwPk0RiZu8WcrHshTidi7RjBlBKdrB3LDMENeYTg/j7Tbx20WjbaH2+CAOydSwYLF +9T8usoWwhIJ2snjmQXMuR37023o4JE= X-MC-Unique: CDuMXc-1O169WJit6YiEpA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/6] util: openvswitch: unexport InterfaceClear{Rx, Tx}Qos Date: Mon, 17 Jan 2022 17:40:20 +0100 Message-Id: <477aeee6ed5832a1827f4164ebfeaa36588a0df0.1642437534.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.84 on 10.5.11.23 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1642437661134100003 This also removes the indentation error. Signed-off-by: J=C3=A1n Tomko --- src/libvirt_private.syms | 2 -- src/util/virnetdevopenvswitch.c | 4 ++-- src/util/virnetdevopenvswitch.h | 7 ------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index f75dea36c4..3f3357422e 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -2825,8 +2825,6 @@ virNetDevOpenvswitchAddPort; virNetDevOpenvswitchGetMigrateData; virNetDevOpenvswitchGetVhostuserIfname; virNetDevOpenvswitchInterfaceClearQos; -virNetDevOpenvswitchInterfaceClearRxQos; -virNetDevOpenvswitchInterfaceClearTxQos; virNetDevOpenvswitchInterfaceGetMaster; virNetDevOpenvswitchInterfaceParseStats; virNetDevOpenvswitchInterfaceSetQos; diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitc= h.c index 5db4a397f4..b2cc2f36be 100644 --- a/src/util/virnetdevopenvswitch.c +++ b/src/util/virnetdevopenvswitch.c @@ -637,7 +637,7 @@ virNetDevOpenvswitchFindUUID(const char *table, return uuid; } =20 -int +static int virNetDevOpenvswitchInterfaceClearTxQos(const char *ifname, const unsigned char *vmuuid) { @@ -716,7 +716,7 @@ virNetDevOpenvswitchInterfaceClearTxQos(const char *ifn= ame, return ret; } =20 -int +static int virNetDevOpenvswitchInterfaceClearRxQos(const char *ifname) { g_autoptr(virCommand) cmd =3D NULL; diff --git a/src/util/virnetdevopenvswitch.h b/src/util/virnetdevopenvswitc= h.h index e275af59df..b16c8fe318 100644 --- a/src/util/virnetdevopenvswitch.h +++ b/src/util/virnetdevopenvswitch.h @@ -80,10 +80,3 @@ int virNetDevOpenvswitchInterfaceSetQos(const char *ifna= me, int virNetDevOpenvswitchInterfaceClearQos(const char *ifname, const unsigned char *vmuuid) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) G_GNUC_WARN_UNUSED_RESULT; - -int virNetDevOpenvswitchInterfaceClearRxQos(const char *ifname) -ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT; - -int virNetDevOpenvswitchInterfaceClearTxQos(const char *ifname, - const unsigned char *v= mid) -ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) G_GNUC_WARN_UNUSED_RESULT; --=20 2.31.1