[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v5 08/23] libxl: generalise 'driver_path' xenstore access functions in libxl_pci.c
On Thu, Dec 03, 2020 at 02:25:19PM +0000, Paul Durrant wrote: > From: Paul Durrant <pdurrant@xxxxxxxxxx> > > For the purposes of re-binding a device to its previous driver > libxl__device_pci_assignable_add() writes the driver path into xenstore. > This path is then read back in libxl__device_pci_assignable_remove(). > > The functions that support this writing to and reading from xenstore are > currently dedicated for this purpose and hence the node name 'driver_path' > is hard-coded. This patch generalizes these utility functions and passes > 'driver_path' as an argument. Subsequent patches will invoke them to > access other nodes. > > NOTE: Because functions will have a broader use (other than storing a > driver path in lieu of pciback) the base xenstore path is also > changed from '/libxl/pciback' to '/libxl/pci'. > > Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx> > Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx> Acked-by: Wei Liu <wl@xxxxxxx>
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |