From nobody Sun Feb 8 13:39:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1574937050; cv=none; d=zohomail.com; s=zohoarc; b=WhVURxzgVCojjvfkZWXJWKC118pLUqIQ5/2FaTe5BrkYhT3WwBI4XSRJpPOBYZjOiO5lhgEvMHuqCamulZjVaN6n90wBUIF8BqtQyqXDV9naGWLtOrDqS4DeqiZVtgUNymQyPmjElzkd1qysg4eqcb4X9KjpKU5xVn/bZxOGF0c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574937050; 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=ZOaE3tMctYUx4TreV0s20dk5hmEye+mEygJwg1BrLAE=; b=bsjcWoGrgat9e60NJg4/vYTjflXujSc36PmR9qs1FRyqIp2Ql2ec0naUZZGJ4E23fRg0ImKrr/5hc7EtoEHV/vWR+ARuVA0jL8gp7907Kyzx4p2GbzOe05qbJYqnenkvyubc2n6Ut3SUAqdD3jKcLYThASy2AaALGBnDxh9fI2Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1574937050708456.7273600192949; Thu, 28 Nov 2019 02:30:50 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-307-H1klVETxNXeP2UevwAIhIQ-1; Thu, 28 Nov 2019 05:30:47 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EC1E7800D5E; Thu, 28 Nov 2019 10:30:41 +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 B642B5D9E1; Thu, 28 Nov 2019 10:30:41 +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 2E7214BB65; Thu, 28 Nov 2019 10:30:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xASAUb2Q031006 for ; Thu, 28 Nov 2019 05:30:37 -0500 Received: by smtp.corp.redhat.com (Postfix) id 4263D5D9E5; Thu, 28 Nov 2019 10:30:37 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.43.2.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id C162C5D9E2 for ; Thu, 28 Nov 2019 10:30:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574937049; 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=ZOaE3tMctYUx4TreV0s20dk5hmEye+mEygJwg1BrLAE=; b=UbF6mB4zVOeCEDdhRhSdr///Kw6O9wxy+koesvsnO6UiGlcDBdIFraMhK6yWvztpajU8qU a+BAtYwj/3zb34WvCGs6X+AWwKdyEPsQGI8QHPLt9eaeStG/P+gBVvLVp88HkVOyzQu2fb LrhkywG43U3lhGhK2R8UtUVeo0i2fbw= From: Pavel Hrdina To: libvir-list@redhat.com Date: Thu, 28 Nov 2019 11:30:31 +0100 Message-Id: <21172af2a86d85062bcac43bc15444798eccf437.1574936997.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [go PATCH 1/2] Add VIR_FROM_BPF error constant 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.14 X-MC-Unique: H1klVETxNXeP2UevwAIhIQ-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina Reviewed-by: Daniel P. Berrang=C3=A9 --- error.go | 3 +++ error_compat.h | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/error.go b/error.go index d6b02e0..4b057fb 100644 --- a/error.go +++ b/error.go @@ -596,6 +596,9 @@ const ( =20 // Error from TPM FROM_TPM =3D ErrorDomain(C.VIR_FROM_TPM) + + // Error from BPF + FROM_BPF =3D ErrorDomain(C.VIR_FROM_BPF) ) =20 type Error struct { diff --git a/error_compat.h b/error_compat.h index 6727a0d..0383925 100644 --- a/error_compat.h +++ b/error_compat.h @@ -207,4 +207,10 @@ #define VIR_FROM_TPM 70 #endif =20 +/* 5.10.0 */ + +#ifndef VIR_FROM_BPF +#define VIR_FROM_BPF 71 +#endif + #endif /* LIBVIRT_GO_ERROR_COMPAT_H__ */ --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list