golang/xenlight: Update generated code
PATCH 1/1 golang/xenlight: Update generated code
From: Oleksandr Tyshchenko <[email protected]>
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 <[email protected]>
--- tools/golang/xenlight/helpers.gen.go | 12 ++++++++++++ tools/golang/xenlight/types.gen.go | 2 ++ 2 files changed, 14 insertions(+)
tools/golang/xenlight/helpers.gen.go +12 -0
@@ -1774,6 +1774,9 @@ x.ColoPort = int(xc.colo_port) x.ColoExport = C.GoString(xc.colo_export) x.ActiveDisk = C.GoString(xc.active_disk) x.HiddenDisk = C.GoString(xc.hidden_disk) +if err := x.Trusted.fromC(&xc.trusted);err != nil { +return fmt.Errorf("converting field Trusted: %v", err) +} return nil}
@@ -1815,6 +1818,9 @@ if x.ActiveDisk != "" { xc.active_disk = C.CString(x.ActiveDisk)} if x.HiddenDisk != "" { xc.hidden_disk = C.CString(x.HiddenDisk)} +if err := x.Trusted.toC(&xc.trusted); err != nil { +return fmt.Errorf("converting field Trusted: %v", err) +} return nil }
@@ -1899,6 +1905,9 @@ x.ColoFilterSecRedirector1Outdev = C.GoString(xc.colo_filter_sec_redirector1_out x.ColoFilterSecRewriter0Queue = C.GoString(xc.colo_filter_sec_rewriter0_queue) x.ColoCheckpointHost = C.GoString(xc.colo_checkpoint_host) x.ColoCheckpointPort = C.GoString(xc.colo_checkpoint_port) +if err := x.Trusted.fromC(&xc.trusted);err != nil { +return fmt.Errorf("converting field Trusted: %v", err) +} return nil}
@@ -2028,6 +2037,9 @@ if x.ColoCheckpointHost != "" { xc.colo_checkpoint_host = C.CString(x.ColoCheckpointHost)} if x.ColoCheckpointPort != "" { xc.colo_checkpoint_port = C.CString(x.ColoCheckpointPort)} +if err := x.Trusted.toC(&xc.trusted); err != nil { +return fmt.Errorf("converting field Trusted: %v", err) +} return nil }
tools/golang/xenlight/types.gen.go +2 -0
@@ -652,6 +652,7 @@ ColoPort int ColoExport string ActiveDisk string HiddenDisk string +Trusted Defbool } type DeviceNic struct {
@@ -718,6 +719,7 @@ ColoFilterSecRedirector1Outdev string ColoFilterSecRewriter0Queue string ColoCheckpointHost string ColoCheckpointPort string +Trusted Defbool } type DevicePci struct {
Signature · 1 line
2.25.1
Quoted 7 lines · Oleksandr Tyshchenko
From: Oleksandr Tyshchenko <[email protected]>
Re-generate goland bindings to reflect changes to libxl_types.idl from the following commit:
54d8f27d0477tools/libxl: report trusted backend status to frontendsSigned-off-by Oleksandr Tyshchenko <[email protected]>
Reviewed-by Anthony PERARD <[email protected]>
Thanks,
Signature · 1 line
Anthony PERARD