From nobody Sat May 18 21:45:36 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; dkim=pass; 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=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1658136143; cv=none; d=zohomail.com; s=zohoarc; b=GUoD6d9eZgW8CHIeWCuXfIOx/d2z0hSVMvVTZaRZPJBdKHGOH1HrS5MJbMzIgU2wPJKGtcIZpij0qhuDTx+bP2VFe/DfzFjuEkf+7k44Mffp/2pEDQOaxVrD/13hN+mjCnEyDs0wCY0AHtN+OCiRLzGrq/JZJFiF9gaq3btNejY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658136143; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=zlJEKutNY9pVuug6Mt5ewgM5fGaIPrNI9KwDTjr6eZQ=; b=CNtnuMClxlzuPVXYMFOaIZYb6W0W3MoB9rDTSRw9wcxF6DZnNx4NQmwxsHyyL+lNdRFLEcsEjQOv7EyeV3V220zgZgevf/xdsv5DshCLu232Q5vnxXMHuSpIwlx+2u8gANbFIvsCwrHNRwl4/p1JSmv7XwIypsGgYDMg6O8WD2Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1658136143693633.3498402425266; Mon, 18 Jul 2022 02:22:23 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.369427.600837 (Exim 4.92) (envelope-from ) id 1oDMwj-0006u8-Uv; Mon, 18 Jul 2022 09:21:45 +0000 Received: by outflank-mailman (output) from mailman id 369427.600837; Mon, 18 Jul 2022 09:21:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oDMwj-0006u1-SM; Mon, 18 Jul 2022 09:21:45 +0000 Received: by outflank-mailman (input) for mailman id 369427; Mon, 18 Jul 2022 09:21:44 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oDMwh-0006tv-Ud for xen-devel@lists.xenproject.org; Mon, 18 Jul 2022 09:21:44 +0000 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [2a00:1450:4864:20::22e]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 09595e06-067b-11ed-bd2d-47488cf2e6aa; Mon, 18 Jul 2022 11:21:42 +0200 (CEST) Received: by mail-lj1-x22e.google.com with SMTP id x10so12407334ljj.11 for ; Mon, 18 Jul 2022 02:21:42 -0700 (PDT) Received: from otyshchenko.router ([212.22.223.21]) by smtp.gmail.com with ESMTPSA id p21-20020a2ea4d5000000b0025a6e47056csm2012190ljm.124.2022.07.18.02.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 02:21:41 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 09595e06-067b-11ed-bd2d-47488cf2e6aa DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zlJEKutNY9pVuug6Mt5ewgM5fGaIPrNI9KwDTjr6eZQ=; b=q6NIJsqw9/m/lD1D3dwpC/s3rbbYzCq0t6AXddu1NPSNyvdOFiIen44qEhGj+XeWxL +S83phBdKn3A9swVP8DnonoacaP9FYyNHwKFe+Iuu6mBtUZB5YQPX5gIYIC8mXikJynG wzkctJSi6in50zlGVvu2PEhl8uyzUIyliN0qSIc7Q645TRRdW7R/xlI/A+xqdrQfcYaU KPdnJYK8CsvSakOy/SDgRlr994JZ0nhyjlqtKBeQ60QYtGy7RSGx2AcT5PBnjRse1XJ7 KiZIU62WYh3KiNRFQGhqbcilXXf1+vwzmabtGGlttm8HObv9Z9TZXTip5nnbBNGSXygK 5kig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zlJEKutNY9pVuug6Mt5ewgM5fGaIPrNI9KwDTjr6eZQ=; b=099DUQuL8utmFRq0OnR185iCfxy0HdalLbcScqs5cjSXLGvQXBmt9hoQ7FW7r1f6di UxcY1lT9EZlGl7tnbJmcZIhMLXZ/qNT2dm4DU2DK6rQVhLHBPV21Y8JliqaU81nvnnvX 0e2P9ho691X/ONRj3o92OAHcbyaqAeU5MXNj/IxbVA48cKZLQBFVCAC7POkEw2MMLhp5 y+Sw6OjAzoUT+t86EvMQgI1a0365bOsNYVYwsHUXqp96d0y4/uVqvbY735FCr9QVfWwJ 0ZK2EDqSm94lzVdH1PXaWnvJCQoiTmkqN5jMyv27hrZNy7ya7avYVu2rdNk5q4HFPEmp F7vw== X-Gm-Message-State: AJIora/W/lLp5TABCUytSCIJOm10GMbTtmEUu69QYjESny9x5G1mwYEs j2DeYj/T3a9MZ2iA7Ki1UgKuHJp+Vmpv6A== X-Google-Smtp-Source: AGRyM1taznRmUP5tNMGMb7q0aG1XElsMhXGCfKn5LZr37uGgPIFVls8VpEhKNy5FlWbp3YN8pqMvMg== X-Received: by 2002:a05:651c:23b:b0:25d:6920:2b06 with SMTP id z27-20020a05651c023b00b0025d69202b06mr11732155ljn.226.1658136101706; Mon, 18 Jul 2022 02:21:41 -0700 (PDT) From: Oleksandr Tyshchenko To: xen-devel@lists.xenproject.org Cc: Oleksandr Tyshchenko , George Dunlap , Nick Rosbrook , Wei Liu , Anthony PERARD Subject: [PATCH] golang/xenlight: Update generated code Date: Mon, 18 Jul 2022 12:21:25 +0300 Message-Id: <20220718092125.307310-1-olekstysh@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1658136144251100001 Content-Type: text/plain; charset="utf-8" From: Oleksandr Tyshchenko Re-generate goland bindings to reflect changes to libxl_types.idl from the following commit: 54d8f27d0477 tools/libxl: report trusted backend status to frontends Signed-off-by: Oleksandr Tyshchenko Reviewed-by: Anthony PERARD --- tools/golang/xenlight/helpers.gen.go | 12 ++++++++++++ tools/golang/xenlight/types.gen.go | 2 ++ 2 files changed, 14 insertions(+) diff --git a/tools/golang/xenlight/helpers.gen.go b/tools/golang/xenlight/h= elpers.gen.go index dece545ee0..33fe03971f 100644 --- a/tools/golang/xenlight/helpers.gen.go +++ b/tools/golang/xenlight/helpers.gen.go @@ -1774,6 +1774,9 @@ x.ColoPort =3D int(xc.colo_port) x.ColoExport =3D C.GoString(xc.colo_export) x.ActiveDisk =3D C.GoString(xc.active_disk) x.HiddenDisk =3D C.GoString(xc.hidden_disk) +if err :=3D x.Trusted.fromC(&xc.trusted);err !=3D nil { +return fmt.Errorf("converting field Trusted: %v", err) +} =20 return nil} =20 @@ -1815,6 +1818,9 @@ if x.ActiveDisk !=3D "" { xc.active_disk =3D C.CString(x.ActiveDisk)} if x.HiddenDisk !=3D "" { xc.hidden_disk =3D C.CString(x.HiddenDisk)} +if err :=3D x.Trusted.toC(&xc.trusted); err !=3D nil { +return fmt.Errorf("converting field Trusted: %v", err) +} =20 return nil } @@ -1899,6 +1905,9 @@ x.ColoFilterSecRedirector1Outdev =3D C.GoString(xc.co= lo_filter_sec_redirector1_out x.ColoFilterSecRewriter0Queue =3D C.GoString(xc.colo_filter_sec_rewriter0_= queue) x.ColoCheckpointHost =3D C.GoString(xc.colo_checkpoint_host) x.ColoCheckpointPort =3D C.GoString(xc.colo_checkpoint_port) +if err :=3D x.Trusted.fromC(&xc.trusted);err !=3D nil { +return fmt.Errorf("converting field Trusted: %v", err) +} =20 return nil} =20 @@ -2028,6 +2037,9 @@ if x.ColoCheckpointHost !=3D "" { xc.colo_checkpoint_host =3D C.CString(x.ColoCheckpointHost)} if x.ColoCheckpointPort !=3D "" { xc.colo_checkpoint_port =3D C.CString(x.ColoCheckpointPort)} +if err :=3D x.Trusted.toC(&xc.trusted); err !=3D nil { +return fmt.Errorf("converting field Trusted: %v", err) +} =20 return nil } diff --git a/tools/golang/xenlight/types.gen.go b/tools/golang/xenlight/typ= es.gen.go index 253c9ad93d..bb149547fd 100644 --- a/tools/golang/xenlight/types.gen.go +++ b/tools/golang/xenlight/types.gen.go @@ -652,6 +652,7 @@ ColoPort int ColoExport string ActiveDisk string HiddenDisk string +Trusted Defbool } =20 type DeviceNic struct { @@ -718,6 +719,7 @@ ColoFilterSecRedirector1Outdev string ColoFilterSecRewriter0Queue string ColoCheckpointHost string ColoCheckpointPort string +Trusted Defbool } =20 type DevicePci struct { --=20 2.25.1