Skip to content

golang/xenlight: domain life cycle support

Nick Rosbrook xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/212 patches 30 repliesIn review
  2. v1 posting 1/212 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12golang/xenlight: update generated codetools/golang/xenlight/helpers.gen.go tools/golang/xenlight/types.gen.go+11 -01 reply
2/12golang/xenlight: fix StringList toC conversiontools/golang/xenlight/xenlight.go+3 -21 reply
3/12golang/xenlight: fix string conversion in generated toC functionstools/golang/xenlight/gengotypes.py tools/golang/xenlight/helpers.gen.go+161 -04 replies
4/12golang/xenlight: export keyed union interface typestools/golang/xenlight/gengotypes.py tools/golang/xenlight/types.gen.go+32 -321 reply
5/12golang/xenlight: use struct pointers in keyed union fieldstools/golang/xenlight/gengotypes.py tools/golang/xenlight/helpers.gen.go+24 -241 reply
6/12golang/xenlight: rename Ctx receivers to ctxtools/golang/xenlight/xenlight.go+77 -771 reply
7/12golang/xenlight: add logging conveniences for within xenlighttools/golang/xenlight/xenlight.go+45 -06 replies
8/12golang/xenlight: add functional options to configure Contexttools/golang/xenlight/xenlight.go+42 -25 replies
9/12golang/xenlight: add DomainDestroy wrappertools/golang/xenlight/xenlight.go+10 -01 reply
10/12golang/xenlight: add SendTrigger wrappertools/golang/xenlight/xenlight.go+11 -01 reply
11/12golang/xenlight: do not negate ret when converting to Errortools/golang/xenlight/xenlight.go+23 -232 replies
12/12golang/xenlight: add NotifyDomainDeath method to Contexttools/golang/xenlight/xenlight.go+82 -13 replies

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchGeorge Dunlap
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12
8/12A-b
9/12R-b
10/12R-b
11/12A-b
12/12

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

Read the v1 thread

Cover letter [RESEND PATCH 00/12] golang/xenlight: domain life cycle support

The primary goal of this patch series is to allow users of the xenlight package to manage a full domain life cycle. In particular, it provides support for receiving domain death events so that domain shutdown, reboot, destroy, etc. can be handled. And, it addresses issues found when using the package to boot domains with various configurations.

These patches address several things (e.g. bug fixes, code style, conveniences, new wrapper functions), but are all work towards the final goal of allowing a package user to manage a full domain life cycle.

Nick Rosbrook (12):
golang/xenlight: update generated code golang/xenlight: fix StringList toC conversion golang/xenlight: fix string conversion in generated toC functions golang/xenlight: export keyed union interface types golang/xenlight: use struct pointers in keyed union fields golang/xenlight: rename Ctx receivers to ctx golang/xenlight: add logging conveniences for within xenlight golang/xenlight: add functional options to configure Context golang/xenlight: add DomainDestroy wrapper golang/xenlight: add SendTrigger wrapper golang/xenlight: do not negate ret when converting to Error golang/xenlight: add NotifyDomainDeath method to Context

 tools/golang/xenlight/gengotypes.py  |  11 +-
 tools/golang/xenlight/helpers.gen.go | 210 ++++++++++++--
 tools/golang/xenlight/types.gen.go   |  63 +++--
 tools/golang/xenlight/xenlight.go    | 398 ++++++++++++++++++++-------
 4 files changed, 521 insertions(+), 161 deletions(-)
Signature · 1 line
2.17.1