From nobody Fri Apr 19 12:30:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590164015; cv=none; d=zohomail.com; s=zohoarc; b=mKxhT2X3Bks8nocpoexvYVW599TAvCfmM+hgmUqvRV6j3tXt9txFxbpIVcql8EkaF2gohpIHq0POb2b93sSJX2WyRXxSG9rQaQo4S26CBVL894xaaFxhsBuDIjJiKY1u/uNU8/xU0UNCf0ewK/jCmZ20bjoQlwlqrftfXRFkfV8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590164015; 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; bh=C+xegg4Q6LUEMl8TuHwhFxlOipxvJ0pwkpKscgq0wnM=; b=kcKYdEcK7DMjXgw9FlO8OZBRChoFvnCmurgJgjP0D5luqyuPg/0BMPiZ9RKqJ7OIa3pULJWm5ReNZO4qPeymZWn985dbUU+vZucQxxKuq1iLNVeNZa/9JSVzdO4TMzQ7jrPdzdIPo1g2Uz9YxSvzKs94EGXT0i9DzkkLhogwoLM= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) 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 1590164015292828.1273136172994; Fri, 22 May 2020 09:13:35 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIC-00062y-WB; Fri, 22 May 2020 16:13:04 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIC-00062s-0V for xen-devel@lists.xenproject.org; Fri, 22 May 2020 16:13:04 +0000 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 1c853447-9c47-11ea-abf6-12813bfff9fa; Fri, 22 May 2020 16:13:02 +0000 (UTC) X-Inumbo-ID: 1c853447-9c47-11ea-abf6-12813bfff9fa Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: KkaoinM9/gs5S/yJZ56rjkJY/pe8/WowyyXkJncXmN4y0QC5OF7G1CWrKU+ZOsmBOMQlV9ceUJ uoweMJ/cOPDmMxN/30QtE5MSpe2LSz1uLJcD17JXFm/fiZrmi4vcAbkwxL5fiRItJO5cE2If2i yhsXdoj3YZrJxSIaOIJRXdMBsUiwXMQK7WTwlvWmPx1Ny866FhJNDxNPf1HSk3T6dihUkdZ07z rJyrUu2/cgluUg59wO9ZhrCfj5mMOB6cpwLUpn3E1GKU7Kgiu8tCzWB1tgFGZT3xqjdQ+dxzFL 3XE= X-SBRS: 2.7 X-MesageID: 18915172 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,422,1583211600"; d="scan'208";a="18915172" From: George Dunlap To: Subject: [PATCH 1/5] golang: Add a minimum go version to go.mod Date: Fri, 22 May 2020 17:12:36 +0100 Message-ID: <20200522161240.3748320-2-george.dunlap@citrix.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200522161240.3748320-1-george.dunlap@citrix.com> References: <20200522161240.3748320-1-george.dunlap@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , George Dunlap Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" `go build` wants to add the current go version to go.mod as the minimum every time we run `make` in the directory. Add 1.11 (the earliest Go version that supports modules) there to make it happy. Signed-off-by: George Dunlap Reviewed-by: Nick Rosbrook --- CC: Nick Rosbrook --- tools/golang/xenlight/go.mod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/golang/xenlight/go.mod b/tools/golang/xenlight/go.mod index 926474d929..7dfbd758d1 100644 --- a/tools/golang/xenlight/go.mod +++ b/tools/golang/xenlight/go.mod @@ -1 +1,3 @@ module xenbits.xenproject.org/git-http/xen.git/tools/golang/xenlight + +go 1.11 --=20 2.25.1 From nobody Fri Apr 19 12:30:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590164021; cv=none; d=zohomail.com; s=zohoarc; b=nl852LJxutmpiSt3R0qsb/0GrCNzmpW0zKPgkSawt6KT+YEwNTeNcdUzb/cWzjhM2AZrYkfK9KTjoQHgzpybRXjJRteFJTFYEk0ScJjJkS2ayWtXYZkmcC2HHcd9qWbFV9qziG8a1j5O2J9w6VQclx7LQ5Nt4yPXNqbJeSm2sTA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590164021; 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; bh=M2VlVfBq6sBEDycsNhDsRS9Yw8R3sERj4gvC7SN6TQ4=; b=njO7V7QREMrVeaJgz/kKPlTZbVdy7zMPCuuFDwZlAEGn1vZdboNEBOBhhhsaibDJdc96MHFBBDtru+KdfnBLjGrXa7RiADyDx4Qv/5NJNNgWPaAeGK1whVrNRx2AMkdbYDYzX2gtKJZ2KCMwvuJ6dEGIq/GFio7zKFcJATHrZBE= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) 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 1590164021951851.5173312483478; Fri, 22 May 2020 09:13:41 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIO-00065m-B0; Fri, 22 May 2020 16:13:16 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIM-00064q-Ui for xen-devel@lists.xenproject.org; Fri, 22 May 2020 16:13:14 +0000 Received: from esa1.hc3370-68.iphmx.com (unknown [216.71.145.142]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 216abf58-9c47-11ea-b9cf-bc764e2007e4; Fri, 22 May 2020 16:13:11 +0000 (UTC) X-Inumbo-ID: 216abf58-9c47-11ea-b9cf-bc764e2007e4 Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: QCTX7pdxLRE62cejAiA0UeIvrskqgUuAcylRwpuAgvfZw2mdhem3bUqZTBVw3kIeQ34PcL54UV CC41qdZAe/c1TPCpzJOkVsJaU53QCWMFDJs6DlKOekAHGia5PvH7Oi48DuEia0PTI/ettFO3Cr qgXj/yp+Pi5jHyUf+zOiFenC0HKkB8oq5b+n9X2OvZ3TNANxwJLUQgQNKheV3czVPljI9Ajrkl 6xPOqeNFkxhqzHjPh4e2y8Ura0nIj/mRCg6tPfZ7aLLU0HSZPZZoJsqDYje/rpFYEKQOVswPHj Be0= X-SBRS: 2.7 X-MesageID: 18476572 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,422,1583211600"; d="scan'208";a="18476572" From: George Dunlap To: Subject: [PATCH 2/5] golang: Add a variable for the libxl source directory Date: Fri, 22 May 2020 17:12:37 +0100 Message-ID: <20200522161240.3748320-3-george.dunlap@citrix.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200522161240.3748320-1-george.dunlap@citrix.com> References: <20200522161240.3748320-1-george.dunlap@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , Ian Jackson , George Dunlap , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" ...rather than duplicating the path in several places. Signed-off-by: George Dunlap Acked-by: Ian Jackson Reviewed-by: Nick Rosbrook --- CC: Ian Jackson CC: Wei Liu CC: Nick Rosbrook --- tools/golang/xenlight/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/golang/xenlight/Makefile b/tools/golang/xenlight/Makefile index 37ed1358c4..cd0a62505f 100644 --- a/tools/golang/xenlight/Makefile +++ b/tools/golang/xenlight/Makefile @@ -9,6 +9,8 @@ GOXL_INSTALL_DIR =3D $(GOCODE_DIR)$(GOXL_PKG_DIR) =20 GO ?=3D go =20 +LIBXL_SRC_DIR =3D ../../libxl + .PHONY: all all: build =20 @@ -21,8 +23,8 @@ $(XEN_GOPATH)/src/$(XEN_GOCODE_URL)/xenlight/: xenlight.g= o types.gen.go helpers. $(INSTALL_DATA) types.gen.go $(XEN_GOPATH)$(GOXL_PKG_DIR) $(INSTALL_DATA) helpers.gen.go $(XEN_GOPATH)$(GOXL_PKG_DIR) =20 -%.gen.go: gengotypes.py $(XEN_ROOT)/tools/libxl/libxl_types.idl $(XEN_ROOT= )/tools/libxl/idl.py - XEN_ROOT=3D$(XEN_ROOT) $(PYTHON) gengotypes.py ../../libxl/libxl_types.idl +%.gen.go: gengotypes.py $(LIBXL_SRC_DIR)/libxl_types.idl $(LIBXL_SRC_DIR)/= idl.py + XEN_ROOT=3D$(XEN_ROOT) $(PYTHON) gengotypes.py $(LIBXL_SRC_DIR)/libxl_typ= es.idl =20 # Go will do its own dependency checking, and not actuall go through # with the build if none of the input files have changed. --=20 2.25.1 From nobody Fri Apr 19 12:30:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590164023; cv=none; d=zohomail.com; s=zohoarc; b=kR+f7OEpSd7nApeyrScePsvFzWre2TJkW0/MdMEuTC4W5lwfZFxEBVL4vnvsPCtjwNakZAP8QojXS6qVpKcyGYkbKLnEpgpRzowapwRIR4jc/gP38KPQl3J5wQDByXaVCa6hG1yt4LCsr4LrnD9TqedzLGa50EeYnsYAcJnepNg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590164023; 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; bh=JUjz/bsyhZbV8dohE/z+p1LI+srJH5K+RQtD9U1l+GU=; b=JVZi042K7/ytzBlp+y1q3WbWGK3mQE2iCb6YUdaaYb/Vd3uI8skFNFfHfimlpf6bNtIa8JJ9FnRfJX9E2Jml6M9kloot4HyTtl/pCib5xRPQPeCYupPYGjofrBW38cttKfnhXr3Hdd3OT+2bGFk4FXWXTSPbr5SwBZW9kcd9Mpw= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) 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 1590164023533637.1162890327944; Fri, 22 May 2020 09:13:43 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIO-000657-1R; Fri, 22 May 2020 16:13:16 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIL-00064Q-TR for xen-devel@lists.xenproject.org; Fri, 22 May 2020 16:13:13 +0000 Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 216b5274-9c47-11ea-abf6-12813bfff9fa; Fri, 22 May 2020 16:13:11 +0000 (UTC) X-Inumbo-ID: 216b5274-9c47-11ea-abf6-12813bfff9fa Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: KxPNs5keHhc+fidn6/H1Nm9Y7zYU1beE8+bp8J+5ykM+OnhXTmM65r1mXRxUpW1JVCUCLJo1YO ZzROBGSVu/j+QAKZE9cXmewpX5ej+JVbvfL46Dj0hNEmTCY3igcdnTAoKd/IFIHb8LBhk8SjDR nS4dWO0Xl126vYI19Dk3cdoxyOLwNu0T9RSsqWEJRBFciI4IlzFKTUmHKIvgVYSri+kfYNhsCR rVHuDwIhUOSsZcj5050J6MwQ1xcGhsDlEunnaRSro97/0hawLlz5/THJpybteRzRt5XH1kBmhm jE0= X-SBRS: 2.7 X-MesageID: 18189347 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,422,1583211600"; d="scan'208";a="18189347" From: George Dunlap To: Subject: [PATCH 3/5] libxl: Generate golang bindings in libxl Makefile Date: Fri, 22 May 2020 17:12:38 +0100 Message-ID: <20200522161240.3748320-4-george.dunlap@citrix.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200522161240.3748320-1-george.dunlap@citrix.com> References: <20200522161240.3748320-1-george.dunlap@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , Ian Jackson , George Dunlap , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" The generated golang bindings (types.gen.go and helpers.gen.go) are left checked in so that they can be fetched from xenbits using the golang tooling. This means that they must be updated whenever libxl_types.idl (or other dependencies) are updated. However, the golang bindings are only built optionally; we can't assume that anyone updating libxl_types.idl will also descend into the tools/golang tree to re-generate the bindings. Fix this by re-generating the golang bindings from the libxl Makefile when the IDL dependencies are updated, so that anyone who updates libxl_types.idl will also end up updating the golang generated files as well. - Make a variable for the generated files, and a target in xenlight/Makefile which will only re-generate the files. - Add a target in libxl/Makefile to call external idl generation targets (currently only golang). For ease of testing, also add a specific target in libxl/Makefile just to check and update files generated from the IDL. This does mean that there are two potential paths for generating the files during a parallel build; but that shouldn't be an issue, since tools/golang/xenlight should never be built until after tools/libxl has completed building anyway. Signed-off-by: George Dunlap Acked-by: Ian Jackson Reviewed-by: Nick Rosbrook --- CC: Ian Jackson CC: Wei Liu CC: Nick Rosbrook --- tools/golang/xenlight/Makefile | 6 +++++- tools/libxl/Makefile | 12 +++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/tools/golang/xenlight/Makefile b/tools/golang/xenlight/Makefile index cd0a62505f..751f916276 100644 --- a/tools/golang/xenlight/Makefile +++ b/tools/golang/xenlight/Makefile @@ -17,12 +17,16 @@ all: build .PHONY: package package: $(XEN_GOPATH)$(GOXL_PKG_DIR) =20 -$(XEN_GOPATH)/src/$(XEN_GOCODE_URL)/xenlight/: xenlight.go types.gen.go he= lpers.gen.go +GOXL_GEN_FILES =3D types.gen.go helpers.gen.go + +$(XEN_GOPATH)/src/$(XEN_GOCODE_URL)/xenlight/: xenlight.go $(GOXL_GEN_FILE= S) $(INSTALL_DIR) $(XEN_GOPATH)$(GOXL_PKG_DIR) $(INSTALL_DATA) xenlight.go $(XEN_GOPATH)$(GOXL_PKG_DIR) $(INSTALL_DATA) types.gen.go $(XEN_GOPATH)$(GOXL_PKG_DIR) $(INSTALL_DATA) helpers.gen.go $(XEN_GOPATH)$(GOXL_PKG_DIR) =20 +idl-gen: $(GOXL_GEN_FILES) + %.gen.go: gengotypes.py $(LIBXL_SRC_DIR)/libxl_types.idl $(LIBXL_SRC_DIR)/= idl.py XEN_ROOT=3D$(XEN_ROOT) $(PYTHON) gengotypes.py $(LIBXL_SRC_DIR)/libxl_typ= es.idl =20 diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 69fcf21577..2a06a7ebb8 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -218,7 +218,7 @@ testidl.c: libxl_types.idl gentest.py libxl.h $(AUTOINC= S) .PHONY: all all: $(CLIENTS) $(TEST_PROGS) $(PKG_CONFIG) $(PKG_CONFIG_LOCAL) \ libxenlight.so libxenlight.a libxlutil.so libxlutil.a \ - $(AUTOSRCS) $(AUTOINCS) + $(AUTOSRCS) $(AUTOINCS) idl-external =20 $(LIBXL_OBJS) $(LIBXLU_OBJS) $(SAVE_HELPER_OBJS) \ $(LIBXL_TEST_OBJS) $(TEST_PROG_OBJS): \ @@ -274,6 +274,16 @@ _libxl_type%.h _libxl_type%_json.h _libxl_type%_privat= e.h _libxl_type%.c: libxl_ $(call move-if-changed,__libxl_type$(stem)_json.h,_libxl_type$(stem)_json= .h) $(call move-if-changed,__libxl_type$(stem).c,_libxl_type$(stem).c) =20 +.PHONY: idl-external +idl-external: + $(MAKE) -C $(XEN_ROOT)/tools/golang/xenlight idl-gen + +LIBXL_IDLGEN_FILES =3D _libxl_types.h _libxl_types_json.h _libxl_types_pri= vate.h _libxl_types.c \ + _libxl_types_internal.h _libxl_types_internal_json.h _libxl_types_interna= l_private.h _libxl_types_internal.c + + +idl-gen: $(LIBXL_GEN_FILES) idl-external + libxenlight.so: libxenlight.so.$(MAJOR) $(SYMLINK_SHLIB) $< $@ =20 --=20 2.25.1 From nobody Fri Apr 19 12:30:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590164016; cv=none; d=zohomail.com; s=zohoarc; b=OTylJm0OrdxJTamHBoFG5aENiJDgyzbCDDBjB0rP7Sa2c8Ph7Zq/SvG/GmnAtmNaQe7LXhFky6jZlY4M6piaX6LUEshzO5UYqA1wXNN22gBRqjqzEdcKk0AAhjOOaQ2YFD6KG9qBbZh3qyfj0c9/gTJGj2Rus1785YS5mw/zmX4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590164016; 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; bh=z1AkvTuVRqJBWKwBlFKkTDc1qYa1Dm0CSyw/oAJtpyQ=; b=F4H+KxqYhFGp7jTsLAe9VOcAIAOiUuSnILfW8Zg7vKhvMUZGt+UNH8ea1nx891uUr36vdZQT1QGYFsH1JEoZxwlZR2kvl+rGMWN1YcB3rtlSdrV8n/8MzKrHaj2nmnUXtScqpvjSAPWNkHMIAhRohCIFhbx4Z8wgUQxdvqKfxY8= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) 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 1590164016796455.6665748508209; Fri, 22 May 2020 09:13:36 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIJ-00063q-O2; Fri, 22 May 2020 16:13:11 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIH-00063Z-UH for xen-devel@lists.xenproject.org; Fri, 22 May 2020 16:13:09 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1e073512-9c47-11ea-b9cf-bc764e2007e4; Fri, 22 May 2020 16:13:04 +0000 (UTC) X-Inumbo-ID: 1e073512-9c47-11ea-b9cf-bc764e2007e4 Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: hM8AKnw8g800qnanAC29WuSXC2r7EZt/ZAlllla/TZS8Cgy1GhwEwsSWZ/4iQ4cSRBxyWy/6BS gRy3I3ErzCwV0xvhLktGPxm67r1ZvMmKMjNSMkjydZDTu9KeJ0NwpKqsqenIKZ3OlvzW0CPZF0 DvRzR/gwTDTKwgocx/kQptGH8yerMHgsTg4EMhGYY8QYoWhrxuGoLDkeBsQvgOYCCCeiZlo2FH OXzfByK2XulSVVY1aOOzdVHH5T28UUBDIFh4P+Xh1z0SIfBQxDFQOjlqfyYoQifOSQ7l00EONl 6WM= X-SBRS: 2.7 X-MesageID: 18454769 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,422,1583211600"; d="scan'208";a="18454769" From: George Dunlap To: Subject: [PATCH 4/5] golang/xenlight: Use XEN_PKG_DIR variable rather than open-coding Date: Fri, 22 May 2020 17:12:39 +0100 Message-ID: <20200522161240.3748320-5-george.dunlap@citrix.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200522161240.3748320-1-george.dunlap@citrix.com> References: <20200522161240.3748320-1-george.dunlap@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , Ian Jackson , George Dunlap , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: George Dunlap Acked-by: Ian Jackson Reviewed-by: Nick Rosbrook --- CC: Ian Jackson CC: Wei Liu CC: Nick Rosbrook --- tools/golang/xenlight/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/golang/xenlight/Makefile b/tools/golang/xenlight/Makefile index 751f916276..6ab36c0aa9 100644 --- a/tools/golang/xenlight/Makefile +++ b/tools/golang/xenlight/Makefile @@ -19,7 +19,7 @@ package: $(XEN_GOPATH)$(GOXL_PKG_DIR) =20 GOXL_GEN_FILES =3D types.gen.go helpers.gen.go =20 -$(XEN_GOPATH)/src/$(XEN_GOCODE_URL)/xenlight/: xenlight.go $(GOXL_GEN_FILE= S) +$(XEN_GOPATH)$(GOXL_PKG_DIR): xenlight.go $(GOXL_GEN_FILES) $(INSTALL_DIR) $(XEN_GOPATH)$(GOXL_PKG_DIR) $(INSTALL_DATA) xenlight.go $(XEN_GOPATH)$(GOXL_PKG_DIR) $(INSTALL_DATA) types.gen.go $(XEN_GOPATH)$(GOXL_PKG_DIR) --=20 2.25.1 From nobody Fri Apr 19 12:30:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590164018; cv=none; d=zohomail.com; s=zohoarc; b=XB36+85rJlsveQGNBHyhHjiA+2ESqSmL9fov/v6w8Q/6J2aRS9y3UxTX73x/NpcTiFiooScQHY6Fld0dvIdX5ufkT0u61vArqt+yekW7hLI0uQiBYQ8TXYd26mlQGdWGMLY1hQDzlyB6UMimZ9DCdEMmWj2NXXF6wNE3SRb55Ss= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590164018; 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; bh=tRkyNsr81WdqfKgh5U6GPOjpwPGPiYlTUdyOyKYX0Fk=; b=SnLWWuxPgH8QGslJeY6do8rZA4Gi5S1FVfCzR4yJGzE9MIEhtYjBvuk97qCegHU3OIuj3/QQZqTI1c/hTWLYBFJ2vRPIXz0eruaoO7RtE7HEe8LyQMxwXniI2VHNeMqwyYotwX+2lCLA3Beqwzs012Ho2LxfXhl0E6f9KHB/nOg= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) 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 15901640185691013.7733744184713; Fri, 22 May 2020 09:13:38 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAIE-000638-8A; Fri, 22 May 2020 16:13:06 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jcAID-00062x-12 for xen-devel@lists.xenproject.org; Fri, 22 May 2020 16:13:05 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1d602c9a-9c47-11ea-b9cf-bc764e2007e4; Fri, 22 May 2020 16:13:04 +0000 (UTC) X-Inumbo-ID: 1d602c9a-9c47-11ea-b9cf-bc764e2007e4 Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: 22nWqa1HOEUlJZzT1IqShg9g3FD7lnx5clfJoCR5UU4RJeD7RLjKAHXlulsxeGBSZr9kwcBq6p Oy1ENo0CiMdKvFjQsIlR7atnKsxFqvzpZeFVLjQtBXShWl6iV4DI/1GAaoekfU6IuU4PohRQ5z UcyUoKQy+nuTnUzxsOgo8/6S66HWg2Rh4qxx9tDSbLlYQxPCxy9RfAfpX0QYJVLBFwb2Evo8/C vEDYjbxDqkVY7Yfqxa8Llk5WySqiiCRKAURglXu/Kd46UCLf0I7rLgDmrJQN3DGtI/YdUurAaA m0c= X-SBRS: 2.7 X-MesageID: 18454768 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,422,1583211600"; d="scan'208";a="18454768" From: George Dunlap To: Subject: [PATCH 5/5] gitignore: Ignore golang package directory Date: Fri, 22 May 2020 17:12:40 +0100 Message-ID: <20200522161240.3748320-6-george.dunlap@citrix.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200522161240.3748320-1-george.dunlap@citrix.com> References: <20200522161240.3748320-1-george.dunlap@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Wei Liu , Konrad Wilk , Andrew Cooper , George Dunlap , Nick Rosbrook , Julien Grall , Jan Beulich , Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: George Dunlap Acked-by: Ian Jackson Reviewed-by: Nick Rosbrook --- CC: Ian Jackson CC: Wei Liu CC: Andrew Cooper CC: Jan Beulich CC: Konrad Wilk CC: Stefano Stabellini CC: Julien Grall CC: Nick Rosbrook --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7418ce9829..caaaa15b49 100644 --- a/.gitignore +++ b/.gitignore @@ -406,6 +406,7 @@ tools/python/xen/lowlevel/xl/_pyxl_types.h tools/xenstore/xenstore-watch tools/xl/_paths.h tools/xl/xl +tools/golang/src =20 docs/txt/misc/*.txt docs/txt/man/*.txt --=20 2.25.1