Re: [PATCH 2/4] golang/xenlight: add DeviceNicAdd/Remove wrappers

2020-04-22 Thread Nick Rosbrook
> I feel like I want to say here what it is you actually have to fill in to > remove the nic; but after 10 minutes of poking around the code, I’m not > actually sure myself. :-) (I think it *might* be just Devid and > BackendDomid.) IIRC, you can use just the MAC or devid. I was using just the

Re: [PATCH 2/4] golang/xenlight: add DeviceNicAdd/Remove wrappers

2020-04-22 Thread George Dunlap
> On Apr 12, 2020, at 11:02 PM, Nick Rosbrook wrote: > > Add DeviceNicAdd and DeviceNicRemove as wrappers for > libxl_device_nic_add and libxl_device_nic_remove. > > Signed-off-by: Nick Rosbrook > --- > tools/golang/xenlight/xenlight.go | 34 +++ > 1 file changed, 3

[PATCH 2/4] golang/xenlight: add DeviceNicAdd/Remove wrappers

2020-04-12 Thread Nick Rosbrook
Add DeviceNicAdd and DeviceNicRemove as wrappers for libxl_device_nic_add and libxl_device_nic_remove. Signed-off-by: Nick Rosbrook --- tools/golang/xenlight/xenlight.go | 34 +++ 1 file changed, 34 insertions(+) diff --git a/tools/golang/xenlight/xenlight.go b/tool