[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 1/4] libxl: fix cold plugged PCI device with stubdomain
On Sat, Sep 28, 2019 at 04:20:34PM +0200, Marek Marczykowski-Górecki wrote: > When libxl__device_pci_add() is called, stubdomain is already running, > even when still constructing the target domain. Previously, do_pci_add() > was called with 'starting' hardcoded to false, but now do_pci_add() shares > 'starting' flag in pci_add_state for both target domain and stubdomain. > > Fix this by resetting (local) 'starting' to false in pci_add_dm_done() > (previously part of do_pci_add()) when handling stubdomain, regardless > of pas->starting value. > > Fixes: 11db56f9a6 (libxl_pci: Use libxl__ao_device with libxl__device_pci_add) > Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Thanks, -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |