Skip to contentSkip to conversation

golang/xenlight: Refresh generated helpers are recent libxl changes

PATCH In review Andrew Cooper 3 participants 3 messages Jan 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 golang/xenlight: Refresh generated helpers are recent libxl changes

---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Nick Rosbrook <[email protected]>
CC: George Dunlap <[email protected]>

---
 tools/golang/xenlight/helpers.gen.go | 3 +++
 tools/golang/xenlight/types.gen.go   | 2 ++
 2 files changed, 5 insertions(+)
tools/golang/xenlight/helpers.gen.go +3 -0
index c8605994e7..e0681ee14e 100644
@@ -2025,6 +2025,7 @@ x.PowerMgmt = bool(xc.power_mgmt)
 x.Permissive = bool(xc.permissive)
 x.Seize = bool(xc.seize)
 x.RdmPolicy = RdmReservePolicy(xc.rdm_policy)
+x.Name = C.GoString(xc.name)
 
  return nil}
 
@@ -2044,6 +2045,8 @@ xc.power_mgmt = C.bool(x.PowerMgmt)
 xc.permissive = C.bool(x.Permissive)
 xc.seize = C.bool(x.Seize)
 xc.rdm_policy = C.libxl_rdm_reserve_policy(x.RdmPolicy)
+if x.Name != "" {
+xc.name = C.CString(x.Name)}
 
  return nil
  }
tools/golang/xenlight/types.gen.go +2 -0
index b4c5df0f2c..ac78dea1af 100644
@@ -210,6 +210,7 @@ ViridianEnlightenmentCrashCtl ViridianEnlightenment = 6
 ViridianEnlightenmentSynic ViridianEnlightenment = 7
 ViridianEnlightenmentStimer ViridianEnlightenment = 8
 ViridianEnlightenmentHcallIpi ViridianEnlightenment = 9
+ViridianEnlightenmentExProcessorMasks ViridianEnlightenment = 10
 )
 
 type Hdtype int
@@ -719,6 +720,7 @@ PowerMgmt bool
 Permissive bool
 Seize bool
 RdmPolicy RdmReservePolicy
+Name string
 }
 
 type DeviceRdm struct {
Signature · 1 line
2.11.0
Acked-by on v1 1/1
#1 lore raw

Andrew Cooper writes ("[PATCH] golang/xenlight: Refresh generated helpers are recent libxl changes"):

Quoted 1 line

Can you please resend with something along these lines in the commit message:

Results of running

     <rune>

No manual changes.

In which case, assuming that's true,

Thanks,
Ian.