Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pci+linuxio: use discovery status flags to dynamically exclude PCI ba…
…ckends In 2.0, linuxio and pci backends attached PCI objects to the root during discovery and they were moved to the actual location at the end. Checking whether another backend already performed PCI discovery was as easy as looking for PCI objects attached to root. In 2.1, we directly attach PCI objects to their correct location (since f121096), which means the above dynamic exclusion doesn't work anymore (except when all I/Os are attached to root for real). Use a discovery status flag to store/check that information. We could also remember whether we added PCI objects but that would require to rebuild levels (what we did in 1.x) or add a specific variable. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information
Showing
4 changed files
with
15 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters