From nobody Tue Apr 23 06:48:11 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=1590141040; cv=none; d=zohomail.com; s=zohoarc; b=YZLsBQbZLNSzDpRD3pe43wgKqIzWaVHCT1MOzV03MBUy4PQ5fSVdHA+w/CX5Sb0Y8pPlsu4rioXYN1IbeTocEekAKWAsHm2ZHttco71UVuYB5xLe0tMvvdS4VKAtiaKZDsZ6seBOURDcjPbn+dGfN6hLTZTxvhpsZ2wVwyqDLzg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590141040; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=ncP13lGo34ef4j341kD05AeqnoSDOu17A0Bb+bC8hNg=; b=HAqALYC4R+jdTGmtjuIrHovEP/sDq/HUFZ2U68MjYyeTp+1mOQxNF4ikwxDNaOZCo3j1TgqfmgJItsUxcgx6aToe3H8HRjB4p3uWpsusgPia8ICbNs/m3Kdb5qAA9y/7rOr+JsUAJOeH3s9aDxddAGn8IFue+iEUOCm0vRh3oJg= 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 1590141040262703.7684214449453; Fri, 22 May 2020 02:50:40 -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 1jc4Jm-0007ml-KQ; Fri, 22 May 2020 09:50:18 +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 1jc4Jl-0007mg-PF for xen-devel@lists.xenproject.org; Fri, 22 May 2020 09:50:17 +0000 Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a3a0895c-9c11-11ea-aba8-12813bfff9fa; Fri, 22 May 2020 09:50:16 +0000 (UTC) X-Inumbo-ID: a3a0895c-9c11-11ea-aba8-12813bfff9fa Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: 2EOl9xU0oWRpS/14ijNqMJw2MTZ/WKZsksGprQsRZUnBHIul/sC2q2piRMqB5USAJTglWXyzzA wAVe9PBVuU9qW+7VQdQFgqCsPOqN9W1Qq3WmTAYLUNRb3Apy1aGU4oHHXgkUF1BH+21w/saO1I UCWyHVj+em1s25fqVx2dBa7sKFYlhtnBbIhb33cgw4uARbX2WCs94DTHnBiChEiVwC9UwJ2OZt /AYPVCMa4tIWOLaOMaIVhUzbTcoSfWb0ef1aWMTtkrGzDhBrXleNXRyrlumxwQa7UcceL8cIhV Yrg= X-SBRS: 2.7 X-MesageID: 18159426 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,421,1583211600"; d="scan'208";a="18159426" From: George Dunlap To: Subject: [PATCH] golang: Update generated files after libxl_types.idl change Date: Fri, 22 May 2020 10:49:56 +0100 Message-ID: <20200522094956.3611661-1-george.dunlap@citrix.com> X-Mailer: git-send-email 2.25.1 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" c/s 7efd9f3d45 ("libxl: Handle Linux stubdomain specific QEMU options.") modified libl_types.idl. Run gengotypes.py again to update the geneated golang bindings. Signed-off-by: George Dunlap Acked-by: Wei Liu --- CC: Nick Rosbrook CC: Ian Jackson CC: Wei Liu --- tools/golang/xenlight/helpers.gen.go | 10 ++++++++++ tools/golang/xenlight/types.gen.go | 3 +++ 2 files changed, 13 insertions(+) diff --git a/tools/golang/xenlight/helpers.gen.go b/tools/golang/xenlight/h= elpers.gen.go index 109e9515a2..b5bd0de830 100644 --- a/tools/golang/xenlight/helpers.gen.go +++ b/tools/golang/xenlight/helpers.gen.go @@ -1163,6 +1163,9 @@ func (x *DomainBuildInfo) fromC(xc *C.libxl_domain_bu= ild_info) error { if err :=3D x.DeviceModelStubdomain.fromC(&xc.device_model_stubdomain); e= rr !=3D nil { return fmt.Errorf("converting field DeviceModelStubdomain: %v", err) } + x.StubdomainMemkb =3D uint64(xc.stubdomain_memkb) + x.StubdomainKernel =3D C.GoString(xc.stubdomain_kernel) + x.StubdomainRamdisk =3D C.GoString(xc.stubdomain_ramdisk) x.DeviceModel =3D C.GoString(xc.device_model) x.DeviceModelSsidref =3D uint32(xc.device_model_ssidref) x.DeviceModelSsidLabel =3D C.GoString(xc.device_model_ssid_label) @@ -1489,6 +1492,13 @@ func (x *DomainBuildInfo) toC(xc *C.libxl_domain_bui= ld_info) (err error) { if err :=3D x.DeviceModelStubdomain.toC(&xc.device_model_stubdomain); err= !=3D nil { return fmt.Errorf("converting field DeviceModelStubdomain: %v", err) } + xc.stubdomain_memkb =3D C.uint64_t(x.StubdomainMemkb) + if x.StubdomainKernel !=3D "" { + xc.stubdomain_kernel =3D C.CString(x.StubdomainKernel) + } + if x.StubdomainRamdisk !=3D "" { + xc.stubdomain_ramdisk =3D C.CString(x.StubdomainRamdisk) + } if x.DeviceModel !=3D "" { xc.device_model =3D C.CString(x.DeviceModel) } diff --git a/tools/golang/xenlight/types.gen.go b/tools/golang/xenlight/typ= es.gen.go index df68fd0e88..15516ae552 100644 --- a/tools/golang/xenlight/types.gen.go +++ b/tools/golang/xenlight/types.gen.go @@ -509,6 +509,9 @@ type DomainBuildInfo struct { MaxMaptrackFrames uint32 DeviceModelVersion DeviceModelVersion DeviceModelStubdomain Defbool + StubdomainMemkb uint64 + StubdomainKernel string + StubdomainRamdisk string DeviceModel string DeviceModelSsidref uint32 DeviceModelSsidLabel string --=20 2.25.1