On Mon, Apr 10, 2017 at 03:35:10PM +0200, Erik Skultety wrote:
> > > +void virNodeDevCapMdevFree(virNodeDevCapMdevPtr mdev)
> > > +{
> > > +if (!mdev)
> > > +return;
> > > +
> > > +VIR_FREE(mdev->type);
> > > +VIR_FREE(mdev->name);
> > > +VIR_FREE(mdev->description);
> > > +
> > +void virNodeDevCapMdevFree(virNodeDevCapMdevPtr mdev)
> > +{
> > +if (!mdev)
> > +return;
> > +
> > +VIR_FREE(mdev->type);
> > +VIR_FREE(mdev->name);
> > +VIR_FREE(mdev->description);
> > +VIR_FREE(mdev->device_api);
> > +VIR_FREE(mdev);
> > +}
> > +
[...]
> >
On Wed, Mar 29, 2017 at 02:51:16PM +0200, Erik Skultety wrote:
> Besides updating the capability enum, this patch introduces
> 'virNodeDevCapMdev' structure which will store everything libvirt can
> gather from sysfs about a mediated device. Since we need to report the
> info for both the mediated
Besides updating the capability enum, this patch introduces
'virNodeDevCapMdev' structure which will store everything libvirt can
gather from sysfs about a mediated device. Since we need to report the
info for both the mediated child device it's parent mdev capabilities
(merely the mdev types' attr