generated Go libxl bindings using IDL
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 5 repliesIn review
- v46 patches 3 repliesSuperseded
- v322 patches 10 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 22 patches | 27 replies | Superseded | |
| v1 | 24 patches | 36 replies | Superseded |
Changes in v5 from the cover letter
- GitHub branch for v5 [6].
- The only 3 patches left are for generating toC marshaling functions.
[1] https://lists.xenproject.org/archives/html/xen-devel/2019-07/msg02259.html
[2] https://github.com/enr0n/xen/tree/golang-patches-v1
[3] https://github.com/enr0n/xen/tree/golang-patches-v2
[4] https://github.com/enr0n/xen/tree/golang-patches-v3
[5] https://github.com/enr0n/xen/tree/golang-patches-v4
[6] https://github.com/enr0n/xen/tree/golang-patches-v5
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | golang/xenlight: begin Go to C type marshalingtools/ tools/ tools/ | +1621 | 3 replies | |
| 2/3 | golang/xenlight: implement keyed union Go to C marshalingtools/ tools/ | +366 | 1 reply | |
| 3/3 | golang/xenlight: implement array Go to C marshalingtools/ tools/ | +351 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | George Dunlap |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Xen-devel] [PATCH v5 0/3] generated Go libxl bindings using IDL
After Xen summit, we started the discussion in this[1] RFC thread to figure out how to generate Go bindings for libxl. This series implements that Go code generation using the existing IDL, and updates the existing hand-written code in xenlight.go to use the generated code.
The goal of this series is to provide a good foundation for continued development of the Go package.
The v1 series can be found on my GitHub branch[2].
Changes in v2:
- GitHub branch for v2 [3].
- Drop patch 01/24 from v1 since was committed as a bug fix for 4.13.
- The Makefile changes in 24/24 from v1 have been moved to the patches where the build changes are introduced.
Changes in v3:
- GitHub branch for v3 [4].
- Simplify a pattern for iterating over builtin types in their fromC functions.
- Try not to duplicate as much code in gengotypes.py, and use consistent style in generated code when calling fromC.
Changes in v4:
- GitHub branch for v4 [5].
- The first 16 patches were commited after v3.
Changes in v5:
- GitHub branch for v5 [6].
- The only 3 patches left are for generating toC marshaling functions.
[1] https://lists.xenproject.org/archives/html/xen-devel/2019-07/msg02259.html
[2] https://github.com/enr0n/xen/tree/golang-patches-v1
[3] https://github.com/enr0n/xen/tree/golang-patches-v2
[4] https://github.com/enr0n/xen/tree/golang-patches-v3
[5] https://github.com/enr0n/xen/tree/golang-patches-v4
[6] https://github.com/enr0n/xen/tree/golang-patches-v5
Nick Rosbrook (3):
golang/xenlight: begin Go to C type marshaling golang/xenlight: implement keyed union Go to C marshaling golang/xenlight: implement array Go to C marshaling
tools/golang/xenlight/gengotypes.py | 185 +++ tools/golang/xenlight/helpers.gen.go | 2249 +++++++++++++++++++++++++- tools/golang/xenlight/xenlight.go | 82 +- 3 files changed, 2399 insertions(+), 117 deletions(-)
Signature · 7 lines
2.17.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel