From patchwork Fri Nov 19 10:29:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12628639 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 748F1C433F5 for ; Fri, 19 Nov 2021 10:30:41 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D130610A1 for ; Fri, 19 Nov 2021 10:30:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3D130610A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.227749.394036 (Exim 4.92) (envelope-from ) id 1mo1A1-000752-Mh; Fri, 19 Nov 2021 10:30:25 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 227749.394036; Fri, 19 Nov 2021 10:30:25 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mo1A1-00074v-It; Fri, 19 Nov 2021 10:30:25 +0000 Received: by outflank-mailman (input) for mailman id 227749; Fri, 19 Nov 2021 10:30:23 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mo19z-00074p-Ly for xen-devel@lists.xenproject.org; Fri, 19 Nov 2021 10:30:23 +0000 Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com [216.71.145.142]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id b21f0dfb-4923-11ec-a9d2-d9f7a1cc8784; Fri, 19 Nov 2021 11:30:22 +0100 (CET) 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: b21f0dfb-4923-11ec-a9d2-d9f7a1cc8784 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1637317821; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mrEDCvLQp/TKMqvftLjGripCo8Tcgn3miH+kVAhxaAM=; b=QqCwgnleLBjr29dLyUqKcIg5+UovtfOuosrI6McD6Ar4oXrlhngypNvt 8djeHCbD5nb98dPOU5w3hJyvPO7JQLFs88chvJfBkMGw6orxeJguTHOHH WOAe9RxYY6CPtHtI0QtMpnDLe3nXxydoyQmIqNrKbnlWNyhmepxHTZw8l s=; Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: z0fV9fMWN9D1/M+XOFyaBt9ZquxqyUQdOy7T0bX5wFzdVGJQtTFNpcntU/CeIMDPMBGUrAFWt4 oexMMQ1AJaw/t969p4OEL8f34hseTUKUXbJk5drqCYLMF+sk28Zg2YT9ldXVNStrTpvWYhkGdB +41zboCMQ2/M8Z+a8aR9554kIqdX7cN1MWcAn1NStljBuCkrbEgoSgBVBmYDzezG/NSOB7J5OK ay3LYC9AEllGJ8j+nqWyBHASmMlfPkeYB3X6m+je16Or5EBuRceYmAoe5iJVkOCnFv0Mt0IE93 SSMqjlKikGVuUAfrceVu9nsX X-SBRS: 5.1 X-MesageID: 58594730 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:gcb3+av/JUrYkAr6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9aS6t4erf2JbJY3WI6OLnO56JdU6x/89eyWh1 ijVZ3K0AWHX3RXvQThmoFg6NtsDhL5z8iA2OzICJ1Gt1yRxaIqj9v5HJZA2YaMm5KpoyvstF 6sJfMCJA/JuTDXb+mtCMcmh/dI6LBn71xiTOyeFYSQke8IyTQL+5dK5LBDk8zMDD3TruJJm8 aGgzA7SXbEKWx9mUJTNcPuqwl7o5Sodlet+UlHmON5WfEmwooFmJzao1q08It0WKAWFzTyfj l7EDRAdrOjLgok07NiW2vzU89b3S7NzRxMIEXPa4LC6MTjh0lCimYIQAvyVeT39VX/v/Pnwb +ti0PyhYuYMm0xHstQgHu8zn74+/dbmu5RT0h9gQCfQd12uB75tfiuG0M1IuvEfz7NVo1LrC EeG+90cMrSVIsL1VlUWIVN9POiE0PgVnBjU7Og0fxqmtHMmouLfXBUAJQSIhQxcMKBxYdEsz uoWscIL7xCy10gxOdGcgyEIr2mBIxTsiUn8Wk321GMztjcW9w== IronPort-HdrOrdr: A9a23:63K3UqgqZuIc6V7Vkb2n3/w+/XBQXtAji2hC6mlwRA09TySZ// rAoB19726QtN9xYgBGpTnuAsi9qB/nmKKdgrNhX4tKPjOHhILAFugLhuHfKlXbaknDH4Vmu5 uIHZITNDSJNykYsfrH X-IronPort-AV: E=Sophos;i="5.87,247,1631592000"; d="scan'208";a="58594730" From: Anthony PERARD To: CC: Ian Jackson , Anthony PERARD , George Dunlap , "Nick Rosbrook" , Wei Liu Subject: [XEN PATCH for-4.16] golang/xenlight: regen generated code Date: Fri, 19 Nov 2021 10:29:48 +0000 Message-ID: <20211119102948.156887-1-anthony.perard@citrix.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Fixes: 7379f9e10a3b ("gnttab: allow setting max version per-domain") Signed-off-by: Anthony PERARD Acked-by: Nick Rosbrook Acked-by: Ian Jackson --- tools/golang/xenlight/helpers.gen.go | 4 ++++ tools/golang/xenlight/types.gen.go | 2 ++ 2 files changed, 6 insertions(+) diff --git a/tools/golang/xenlight/helpers.gen.go b/tools/golang/xenlight/helpers.gen.go index 6e1b05431056..b746ff108131 100644 --- a/tools/golang/xenlight/helpers.gen.go +++ b/tools/golang/xenlight/helpers.gen.go @@ -323,6 +323,7 @@ x.CpuTime = uint64(xc.cpu_time) x.VcpuMaxId = uint32(xc.vcpu_max_id) x.VcpuOnline = uint32(xc.vcpu_online) x.Cpupool = uint32(xc.cpupool) +x.GpaddrBits = byte(xc.gpaddr_bits) x.DomainType = DomainType(xc.domain_type) return nil} @@ -355,6 +356,7 @@ xc.cpu_time = C.uint64_t(x.CpuTime) xc.vcpu_max_id = C.uint32_t(x.VcpuMaxId) xc.vcpu_online = C.uint32_t(x.VcpuOnline) xc.cpupool = C.uint32_t(x.Cpupool) +xc.gpaddr_bits = C.uint8_t(x.GpaddrBits) xc.domain_type = C.libxl_domain_type(x.DomainType) return nil @@ -1012,6 +1014,7 @@ return fmt.Errorf("converting field VnumaNodes: %v", err) } } x.MaxGrantFrames = uint32(xc.max_grant_frames) x.MaxMaptrackFrames = uint32(xc.max_maptrack_frames) +x.MaxGrantVersion = int(xc.max_grant_version) x.DeviceModelVersion = DeviceModelVersion(xc.device_model_version) if err := x.DeviceModelStubdomain.fromC(&xc.device_model_stubdomain);err != nil { return fmt.Errorf("converting field DeviceModelStubdomain: %v", err) @@ -1341,6 +1344,7 @@ return fmt.Errorf("converting field VnumaNodes: %v", err) } xc.max_grant_frames = C.uint32_t(x.MaxGrantFrames) xc.max_maptrack_frames = C.uint32_t(x.MaxMaptrackFrames) +xc.max_grant_version = C.int(x.MaxGrantVersion) xc.device_model_version = C.libxl_device_model_version(x.DeviceModelVersion) if err := x.DeviceModelStubdomain.toC(&xc.device_model_stubdomain); err != nil { return fmt.Errorf("converting field DeviceModelStubdomain: %v", err) diff --git a/tools/golang/xenlight/types.gen.go b/tools/golang/xenlight/types.gen.go index a0acfaacc3a8..b1e84d525843 100644 --- a/tools/golang/xenlight/types.gen.go +++ b/tools/golang/xenlight/types.gen.go @@ -316,6 +316,7 @@ CpuTime uint64 VcpuMaxId uint32 VcpuOnline uint32 Cpupool uint32 +GpaddrBits byte DomainType DomainType } @@ -479,6 +480,7 @@ BlkdevStart string VnumaNodes []VnodeInfo MaxGrantFrames uint32 MaxMaptrackFrames uint32 +MaxGrantVersion int DeviceModelVersion DeviceModelVersion DeviceModelStubdomain Defbool StubdomainMemkb uint64