From nobody Tue Nov 11 07:26:16 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1570461308; cv=none; d=zoho.com; s=zohoarc; b=RXyVk1fQ92UJR/2r4y8MhT21EFAgp9qgb7g4eOrX7fcXqtc05wPv+OSZzAo7aC5TZWsQg7ARSkUeOxVuRcsnC/JctfKumLnMZTzikHubBp8NsHEdBHmiQYFwUid5SLJyQvg/AkrOmoj6zpH43le3vQoy/jJE+acBItPv4sEe3f8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570461308; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=lrUq+2byagN4H4tS6yw5CLEEEJEMr//fc34RNdOh++E=; b=K9vzi6jnutF1sJfklkqT2GomJ/kuR2/CxxChCZIZxm+5Nl3dyCeD2bDr2QIz+G4tf0U0lf980GnOkkqsAReU3aGNqgmALuBchfEcv9iSTC6m9Dh9fueSbNzDGvGnrxQY+ieLjwOH9DYb9tTrAlHrdFRyAeiutoKASo2ReUufPvA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 157046130860534.82390287912369; Mon, 7 Oct 2019 08:15:08 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iHUi7-00071p-VF; Mon, 07 Oct 2019 15:14:07 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iHUi6-00071B-Nf for xen-devel@lists.xenproject.org; Mon, 07 Oct 2019 15:14:06 +0000 Received: from mail-qk1-x743.google.com (unknown [2607:f8b0:4864:20::743]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 03da0830-e915-11e9-96dc-bc764e2007e4; Mon, 07 Oct 2019 15:13:28 +0000 (UTC) Received: by mail-qk1-x743.google.com with SMTP id y144so12883638qkb.7 for ; Mon, 07 Oct 2019 08:13:28 -0700 (PDT) Received: from five.crux.rad.ainfosec.com (209-217-208-226.northland.net. [209.217.208.226]) by smtp.googlemail.com with ESMTPSA id c185sm8354313qkg.74.2019.10.07.08.13.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 08:13:26 -0700 (PDT) X-Inumbo-ID: 03da0830-e915-11e9-96dc-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fLq7XQ92BeMVsT2m2BhvNxEhlUOlCOEk5KSB4uowWIE=; b=Q81wZkCsKx46eQhWV8L2sbayyfCOfVFL5x9+nYg9mRIx/Gb9AFIkQsmo73a3w4hzST 4Kdp3GSOLBuXDf5NDmSaoMZ2kFwTs80YjNivzD8zbQeZ0cSvW8s88Rmn8zXZVcJMaxdw B0ypi8Mkk+5JmX5jpps/N5cDP4fcOaQwlDXE2xUpHp7UcEayVCe6no9DmuNQj7rVRZjJ 8TX2x6hF9bND+hoK5SA6Tj1kMrY8oTHSF1h564vdUKNTtBeLUAoNRWX3t+jfVVuf3TYt 96A5peu0xp2juJQk8lAJ/D6CfR4UGthbLEyuk+fFVycQvQdb8Rk8Jj9Z6kVNY4mWqaD7 rDrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fLq7XQ92BeMVsT2m2BhvNxEhlUOlCOEk5KSB4uowWIE=; b=i9sot6GPVC5L/bdCQynK23VCP3VnRzQ66wBT9AWGyiuD4K1UWja0UbCmA96FtYzKKs 9nAD7SxfnMYMRxU5axYPnDP4pqORxxrkR0ztd9KbfVq8EUzrZnU2j2CS0eDRACUpzk8+ 8qh1OJcAsg1uMwQJAHZFzdHPsxI5vVGXBPW5TeewGmBB9BAnXlR6uFhJzZGxS3M7X9BR tp1DqJbSsc2yaBNThKSQAULUK84L0wpN5fcOc4883IE1d3K+TZDqgI1Kcb3Y2UVIbIPY yxwiNDNFYJDLk70AD2xQa210C6838jk1Y1+KTUyzBL2PrwqG/9RiGyXYvqrBstxAvTqc OhYQ== X-Gm-Message-State: APjAAAXFROvGstzuU2F0jQrh6XpY6MOxC7cN9MA8wmqaq40+O//b4VYn 5yhSCscbi+u8xC1mBOv5EirKR9ar X-Google-Smtp-Source: APXvYqyExoxNgEv29+weTL5IDJS5aSgcK3LVbAaklEnbAST8oZ4pYomZHz/1p/4zPZx8Brwyvj9umw== X-Received: by 2002:a37:488d:: with SMTP id v135mr22142824qka.284.1570461207332; Mon, 07 Oct 2019 08:13:27 -0700 (PDT) From: Nick Rosbrook To: xen-devel@lists.xenproject.org Date: Mon, 7 Oct 2019 11:12:57 -0400 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 10/24] golang/xenlight: define EvLink builtin as empty struct X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , Ian Jackson , kerriganb@ainfosec.com, George Dunlap , Wei Liu Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Nick Rosbrook Define EvLink as empty struct as there is currently no reason the internal = of this type should be used in Go. Implement fromC and toC functions as no-ops. Signed-off-by: Nick Rosbrook Reviewed-by: George Dunlap --- Cc: George Dunlap Cc: Ian Jackson Cc: Wei Liu tools/golang/xenlight/xenlight.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/golang/xenlight/xenlight.go b/tools/golang/xenlight/xenl= ight.go index 6aca5b89c0..d41de253f3 100644 --- a/tools/golang/xenlight/xenlight.go +++ b/tools/golang/xenlight/xenlight.go @@ -239,6 +239,16 @@ func (mvg *MsVmGenid) toC() (C.libxl_ms_vm_genid, erro= r) { return cmvg, nil } =20 +// EvLink represents a libxl_ev_link. +// +// Represented as an empty struct for now, as there is no +// apparent need for the internals of this type to be exposed +// through the Go package. +type EvLink struct{} + +func (el *EvLink) fromC(cel *C.libxl_ev_link) error { return nil } +func (el *EvLink) toC() (cel C.libxl_ev_link, err error) { return } + type Context struct { ctx *C.libxl_ctx logger *C.xentoollog_logger_stdiostream --=20 2.19.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel