[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH V3 3/3] libxl: arm: Add grant_usage parameter for virtio devices
> diff --git a/tools/golang/xenlight/helpers.gen.go > b/tools/golang/xenlight/helpers.gen.go > index 0a203d22321f..bf846dca8ec0 100644 > --- a/tools/golang/xenlight/helpers.gen.go > +++ b/tools/golang/xenlight/helpers.gen.go > @@ -1792,6 +1792,9 @@ func (x *DeviceVirtio) fromC(xc *C.libxl_device_virtio) > error { > x.BackendDomname = C.GoString(xc.backend_domname) > x.Type = C.GoString(xc._type) > x.Transport = VirtioTransport(xc.transport) > +if err := x.GrantUsage.fromC(&xc.grant_usage);err != nil { NITPICK: space after ; seems missing. > +return fmt.Errorf("converting field GrantUsage: %v", err) > +} > x.Devid = Devid(xc.devid) > x.Irq = uint32(xc.irq) > x.Base = uint64(xc.base) > @@ -1809,6 +1812,9 @@ xc.backend_domname = C.CString(x.BackendDomname)} > if x.Type != "" { > xc._type = C.CString(x.Type)} > xc.transport = C.libxl_virtio_transport(x.Transport) > +if err := x.GrantUsage.toC(&xc.grant_usage); err != nil { Here it exists. - Erik
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |