From: Nick Rosbrook <rosbrookn@gmail.com>
To: Anthony PERARD <anthony.perard@citrix.com>
Cc: xen-devel@lists.xenproject.org, Ian Jackson <iwj@xenproject.org>,
George Dunlap <george.dunlap@citrix.com>,
Nick Rosbrook <rosbrookn@ainfosec.com>, Wei Liu <wl@xen.org>
Subject: Re: [XEN PATCH for-4.16] golang/xenlight: regen generated code
Date: Fri, 19 Nov 2021 08:28:12 -0500 [thread overview]
Message-ID: <20211119132812.GA27119@six> (raw)
In-Reply-To: <20211119102948.156887-1-anthony.perard@citrix.com>
On Fri, Nov 19, 2021 at 10:29:48AM +0000, Anthony PERARD wrote:
> Fixes: 7379f9e10a3b ("gnttab: allow setting max version per-domain")
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
> ---
> 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
> --
> Anthony PERARD
>
Acked-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Thanks for catching that.
-NR
next prev parent reply other threads:[~2021-11-19 13:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 10:29 [XEN PATCH for-4.16] golang/xenlight: regen generated code Anthony PERARD
2021-11-19 10:38 ` Andrew Cooper
2021-11-19 10:50 ` Anthony PERARD
2021-11-19 13:28 ` Nick Rosbrook [this message]
2021-11-19 14:35 ` Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211119132812.GA27119@six \
--to=rosbrookn@gmail.com \
--cc=anthony.perard@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=iwj@xenproject.org \
--cc=rosbrookn@ainfosec.com \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.