This series adds basic PCI device enumeration in Xen. This will allow us to not rely on Dom0 enumeration for supported controllers, which will enable PCI passthrough for dom0less setups.
Enumeration is disabled by default and can be enabled with "pci-scan" cmdline option. Discovered devices are added to Xen and assigned to dom_io by default. Edward Pickup (1): arm/pci: Add pci-scan boot argument Luca Fancellu (2): xen/pci: modify pci_add_device to handle device add by Xen xen/pci: add discovered PCI device at boot docs/misc/xen-command-line.pandoc | 7 ++++ xen/arch/arm/include/asm/pci.h | 11 ++++++ xen/arch/arm/pci/pci-host-common.c | 1 + xen/arch/arm/pci/pci.c | 27 ++++++++++++- xen/arch/x86/physdev.c | 9 ++--- xen/drivers/passthrough/pci.c | 62 +++++++++++++++++++++++------- xen/drivers/pci/physdev.c | 3 +- xen/include/xen/pci.h | 4 +- 8 files changed, 102 insertions(+), 22 deletions(-) -- 2.34.1