search for: vir_pci_address_slot_last

Displaying 3 results from an estimated 3 matches for "vir_pci_address_slot_last".

2018 Oct 17
3
pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port
...tplug, only accepts pcie-root-port or 355 ┆ ┆* dmi-to-pci-bridge 356 ┆ ┆*/ 357 ┆ bus->flags = (VIR_PCI_CONNECT_TYPE_PCIE_ROOT_PORT | 358 ┆ ┆ ┆ ┆ ┆ VIR_PCI_CONNECT_TYPE_DMI_TO_PCI_BRIDGE); 359 ┆ bus->minSlot = 0; 360 ┆ bus->maxSlot = VIR_PCI_ADDRESS_SLOT_LAST; 361 ┆ break; But it works in qemu: # /usr/libexec/qemu-kvm -machine q35 -m 1024 -device pxb-pcie,bus_nr=250,id=pci.1,bus=pcie.0,addr=0x4 -device pcie-pci-bridge,id=pci.250,bus=pci.1,addr=0x0 -device pcie-pci-bridge,id=pci.251,bus=pci.1,addr=0x1 -spice port=5902,addr=0.0.0.0,disable-ticke...
2018 Oct 17
1
Re: pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port
...┆ ┆* dmi-to-pci-bridge >> 356 ┆ ┆*/ >> 357 ┆ bus->flags = (VIR_PCI_CONNECT_TYPE_PCIE_ROOT_PORT | >> 358 ┆ ┆ ┆ ┆ ┆ VIR_PCI_CONNECT_TYPE_DMI_TO_PCI_BRIDGE); >> 359 ┆ bus->minSlot = 0; >> 360 ┆ bus->maxSlot = VIR_PCI_ADDRESS_SLOT_LAST; >> 361 ┆ break; > The above is consistent with pcie-root itself, which also doesn't > support plugging a pcie-to-pci-bridge directly into it but requires > a pcie-root <- pcie-root-port <- pcie-to-pci-bridge topology. > > Now, I don't quite recall *why*...
2018 Oct 17
0
Re: pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port
...rt or > 355 ┆ ┆* dmi-to-pci-bridge > 356 ┆ ┆*/ > 357 ┆ bus->flags = (VIR_PCI_CONNECT_TYPE_PCIE_ROOT_PORT | > 358 ┆ ┆ ┆ ┆ ┆ VIR_PCI_CONNECT_TYPE_DMI_TO_PCI_BRIDGE); > 359 ┆ bus->minSlot = 0; > 360 ┆ bus->maxSlot = VIR_PCI_ADDRESS_SLOT_LAST; > 361 ┆ break; The above is consistent with pcie-root itself, which also doesn't support plugging a pcie-to-pci-bridge directly into it but requires a pcie-root <- pcie-root-port <- pcie-to-pci-bridge topology. Now, I don't quite recall *why* that is the case - perhaps...