Skip to content

More wrappers for xenlight Go package

Nick Rosbrook xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 1 replyIn review
  2. v21 patch 4 repliesSuperseded
  3. v14 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- Define INVALID_DOMID_TYPED in C preamble so that the Go const DomidInvalid is always in-sync with the libxl definition.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1golang/xenlight: add NameToDomid and DomidToName util functionstools/golang/xenlight/xenlight.go+39 -11 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchGeorge Dunlap
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/1] More wrappers for xenlight Go package

This series adds wrappers to the xenlight package for various libxl functions, which are now trivial to add with the generated types and marshaling helpers. In particular, these are functions that would allow redctl to begin making the transition to using the xenlight package. For reference, I have started an experimental branch where I am using these functions in redctl [1].

[1] https://gitlab.com/enr0n/redctl/-/blob/1bdf7b515654cc030e095f3a630a24530f930c00/internal/server/xenlight_xen_driver.go

Changes in v2:
- Define constant DomidInvalid in first patch for use in NameToDomid
- Add more detail to function comments

Changes in v3:
- Define INVALID_DOMID_TYPED in C preamble so that the Go const DomidInvalid is always in-sync with the libxl definition.

Nick Rosbrook (1):
golang/xenlight: add NameToDomid and DomidToName util functions

 tools/golang/xenlight/xenlight.go | 40 ++++++++++++++++++++++++++++++-
 1 file changed, 39 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1