[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] golang/xenlight: update generated code
commit b291ce703b9cebef0800267446334e867588354a Author: Nick Rosbrook <rosbrookn@xxxxxxxxx> AuthorDate: Mon May 24 16:36:42 2021 -0400 Commit: George Dunlap <george.dunlap@xxxxxxxxxx> CommitDate: Mon Jun 21 16:49:08 2021 +0100 golang/xenlight: update generated code Re-generate code to reflect changes to libxl_types.idl from the following commits: 0570d7f276 x86/msr: introduce an option for compatible MSR behavior selection 7e5cffcd1e viridian: allow vCPU hotplug for Windows VMs 9835246710 viridian: remove implicit limit of 64 VPs per partition Signed-off-by: Nick Rosbrook <rosbrookn@xxxxxxxxxxxx> Reviewed-by: George Dunlap <george.dunlap@xxxxxxxxxx> --- tools/golang/xenlight/helpers.gen.go | 6 ++++++ tools/golang/xenlight/types.gen.go | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/tools/golang/xenlight/helpers.gen.go b/tools/golang/xenlight/helpers.gen.go index 4c60d27a9c..b454b12d52 100644 --- a/tools/golang/xenlight/helpers.gen.go +++ b/tools/golang/xenlight/helpers.gen.go @@ -1113,6 +1113,9 @@ default: return fmt.Errorf("invalid union key '%v'", x.Type)} x.ArchArm.GicVersion = GicVersion(xc.arch_arm.gic_version) x.ArchArm.Vuart = VuartType(xc.arch_arm.vuart) +if err := x.ArchX86.MsrRelaxed.fromC(&xc.arch_x86.msr_relaxed);err != nil { +return fmt.Errorf("converting field ArchX86.MsrRelaxed: %v", err) +} x.Altp2M = Altp2MMode(xc.altp2m) x.VmtraceBufKb = int(xc.vmtrace_buf_kb) @@ -1589,6 +1592,9 @@ default: return fmt.Errorf("invalid union key '%v'", x.Type)} xc.arch_arm.gic_version = C.libxl_gic_version(x.ArchArm.GicVersion) xc.arch_arm.vuart = C.libxl_vuart_type(x.ArchArm.Vuart) +if err := x.ArchX86.MsrRelaxed.toC(&xc.arch_x86.msr_relaxed); err != nil { +return fmt.Errorf("converting field ArchX86.MsrRelaxed: %v", err) +} xc.altp2m = C.libxl_altp2m_mode(x.Altp2M) xc.vmtrace_buf_kb = C.int(x.VmtraceBufKb) diff --git a/tools/golang/xenlight/types.gen.go b/tools/golang/xenlight/types.gen.go index cb13002fdb..f2ceceb61c 100644 --- a/tools/golang/xenlight/types.gen.go +++ b/tools/golang/xenlight/types.gen.go @@ -211,6 +211,8 @@ ViridianEnlightenmentSynic ViridianEnlightenment = 7 ViridianEnlightenmentStimer ViridianEnlightenment = 8 ViridianEnlightenmentHcallIpi ViridianEnlightenment = 9 ViridianEnlightenmentExProcessorMasks ViridianEnlightenment = 10 +ViridianEnlightenmentNoVpLimit ViridianEnlightenment = 11 +ViridianEnlightenmentCpuHotplug ViridianEnlightenment = 12 ) type Hdtype int @@ -513,6 +515,9 @@ ArchArm struct { GicVersion GicVersion Vuart VuartType } +ArchX86 struct { +MsrRelaxed Defbool +} Altp2M Altp2MMode VmtraceBufKb int } -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |