[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v5 03/23] libxl: Make sure devices added by pci-attach are reflected in the config
On Thu, Dec 03, 2020 at 02:25:14PM +0000, Paul Durrant wrote: > From: Paul Durrant <pdurrant@xxxxxxxxxx> > > Currently libxl__device_pci_add_xenstore() is broken in that does not > update the domain's configuration for the first device added (which causes > creation of the overall backend area in xenstore). This can be easily observed > by running 'xl list -l' after adding a single device: the device will be > missing. > > This patch fixes the problem and adds a DEBUG log line to allow easy > verification that the domain configuration is being modified. Also, the use > of libxl__device_generic_add() is dropped as it leads to a confusing situation > where only partial backend information is written under the xenstore > '/libxl' path. For LIBXL__DEVICE_KIND_PCI devices the only definitive > information in xenstore is under '/local/domain/0/backend' (the '0' being > hard-coded). > > NOTE: This patch includes a whitespace in add_pcis_done(). > > 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 |