Re: [libvirt] [PATCH 1/8] Initialize the stubDriver of pci devices if bound to a valid one

2015-10-30 Thread Andrea Bolognani
On Fri, 2015-10-30 at 20:34 +0530, Shivaprasad bhat wrote: > > > @@ -1556,6 +1563,8 @@ virPCIDeviceNew(unsigned int domain, > > > virPCIDevicePtr dev; > > > char *vendor = NULL; > > > char *product = NULL; > > > +char *drvpath = NULL; > > > +char *driver = NULL; > > > > > >

Re: [libvirt] [PATCH 1/8] Initialize the stubDriver of pci devices if bound to a valid one

2015-10-30 Thread Andrea Bolognani
On Fri, 2015-10-30 at 04:56 +0530, Shivaprasad G Bhat wrote: > The stubDriver name can be used to make useful decisions if readily available. > Set it if bound to a valid one during initialisation. > > Signed-off-by: Shivaprasad G Bhat > --- > src/util/virpci.c | 36 ++-

Re: [libvirt] [PATCH 1/8] Initialize the stubDriver of pci devices if bound to a valid one

2015-10-30 Thread Shivaprasad bhat
Thanks for the comments Andrea. On Fri, Oct 30, 2015 at 8:27 PM, Andrea Bolognani wrote: > On Fri, 2015-10-30 at 04:56 +0530, Shivaprasad G Bhat wrote: >> The stubDriver name can be used to make useful decisions if readily >> available. >> Set it if bound to a valid one during initialisation. >>

[libvirt] [PATCH 1/8] Initialize the stubDriver of pci devices if bound to a valid one

2015-10-29 Thread Shivaprasad G Bhat
The stubDriver name can be used to make useful decisions if readily available. Set it if bound to a valid one during initialisation. Signed-off-by: Shivaprasad G Bhat --- src/util/virpci.c | 36 ++-- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git