On Tue, May 30, 2017 at 10:36:22AM -0400, Vladik Romanovsky wrote: > Thanks for the review. > > On Tue, May 30, 2017 at 8:46 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote: > >> +type NodeDevice struct { > >> + Name string `xml:"name"` > >> + Path string `xml:"path,omitempty"` > >> + Parent string `xml:"parent,omitempty"` > >> + Driver string `xml:"driver>name,omitempty"` > >> + Capability *CapabilityType `xml:"capability"` > >> +} > > > > A single device can have multiple capabilities. > Do you mean it should be: > Capability []CapabilityType `xml:"capability"` ? Yes exactly. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list