mbox series

[0/4] More wrappers for xenlight Go package

Message ID cover.1586727061.git.rosbrookn@ainfosec.com (mailing list archive)
Headers show
Series More wrappers for xenlight Go package | expand

Message

Nick Rosbrook April 12, 2020, 10:02 p.m. UTC
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

Nick Rosbrook (4):
  golang/xenlight: add NameToDomid and DomidToName util functions
  golang/xenlight: add DeviceNicAdd/Remove wrappers
  golang/xenlight: add DevicePciAdd/Remove wrappers
  golang/xenlight: add DeviceUsbdevAdd/Remove wrappers

 tools/golang/xenlight/xenlight.go | 125 ++++++++++++++++++++++++++++++
 1 file changed, 125 insertions(+)

Comments

George Dunlap April 23, 2020, 10:31 a.m. UTC | #1
> On Apr 12, 2020, at 11:02 PM, Nick Rosbrook <rosbrookn@gmail.com> wrote:
> 
> 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
> 
> Nick Rosbrook (4):
>  golang/xenlight: add NameToDomid and DomidToName util functions
>  golang/xenlight: add DeviceNicAdd/Remove wrappers
>  golang/xenlight: add DevicePciAdd/Remove wrappers
>  golang/xenlight: add DeviceUsbdevAdd/Remove wrappers

FYI I’ve pushed the last three to staging.

 -George