From nobody Mon Feb 9 01:06:25 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=1659436153; cv=none; d=zohomail.com; s=zohoarc; b=G3UOFBDa+DYll1XjhM0mpI17X2JT7AUJ8QTJhzYJHJnvGP9Q11CJMXoZ49uLqqaezw/oR3kfBsn0dalVQ63g2OkzmxGqSaou9vjoRntzJjoe+zNZ2HTaM5L8SZYP+TfOJychYzx1nFZ8aGH/Rj/2PtsDrAeMMec6AgY7uzxtOGo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1659436153; 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=k+POReWAphDmdwkv69CSUJrGTwmOOfH9abtt2rI0jc8=; b=PG3SKf+i//HoIIVum+0FmUdacdJo+ieyQoi8m2v/iVesDSQhn67jIxEOwSUHzcKSuQk1+i1WUg6guW8r1WjDnYfq8MkqKrq/a4BhVoXWU3+JtXglxH+v0fRx/eHazp4XGPfdWBUeW8LZcepxp3XPvbS79Gfavr296wMZ3tRwLUc= 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 1659436152997223.76826782699356; Tue, 2 Aug 2022 03:29:12 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.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-132-3DANOWQhNn-dsRks65y6vw-1; Tue, 02 Aug 2022 06:29:05 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2DDC01C01B2C; Tue, 2 Aug 2022 10:29:04 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1081F2026D4C; Tue, 2 Aug 2022 10:28:19 +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 726FE1946A53; Tue, 2 Aug 2022 10:28:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 01C5D1946A47 for ; Tue, 2 Aug 2022 10:28:00 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id EC01A2026D07; Tue, 2 Aug 2022 10:27:59 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 975362026D4C for ; Tue, 2 Aug 2022 10:27:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659436152; 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=k+POReWAphDmdwkv69CSUJrGTwmOOfH9abtt2rI0jc8=; b=ZfKnSvdeZ5V/WDLPr76QOdstrjToAIX9Xl+WNBfufjndtYsexsKFjvKfin/mmy46XLHp7j TLZHoL5nMzvqPKVjX+Qs8Y+KVBfYISJjNFs2RifkVOK6SGhl4V33iJpyFN0Yp2YYenKZrB VDZmeSthbcX+lxgVgl74XddwdulbWfg= X-MC-Unique: 3DANOWQhNn-dsRks65y6vw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/4] src: Export virDomainTPMVersion enum conversion helpers Date: Tue, 2 Aug 2022 12:27:54 +0200 Message-Id: <321bb0625670c37dba922662330c056ca57bfe5a.1659435917.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 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 2.78 on 10.11.54.4 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: 1659436153920100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The virDomainTPMVersion enum is declared in domain_conf.h among with its TypeFromString() and TypeToString() helpers (which are then implemented in domain_conf.c). However, neither of these helpers is exposed in libvirt_private.syms which makes it impossible for other modules to use. Signed-off-by: Michal Privoznik --- src/libvirt_private.syms | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index 6a5c5600df..797598d53b 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -672,6 +672,8 @@ virDomainTPMModelTypeFromString; virDomainTPMModelTypeToString; virDomainTPMPcrBankTypeFromString; virDomainTPMPcrBankTypeToString; +virDomainTPMVersionTypeFromString; +virDomainTPMVersionTypeToString; virDomainUSBDeviceDefForeach; virDomainVideoDefaultRAM; virDomainVideoDefClear; --=20 2.35.1