Displaying 3 results from an estimated 3 matches for "vir_pci_connect_type_pcie_root_port".
2018 Oct 17
3
pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port
...del, I find pcie-expander-bus only
supports pcie-root-port and dmi-to-pci-bridge
353 case
VIR_DOMAIN_CONTROLLER_MODEL_PCIE_EXPANDER_BUS:
354 ┆ /* 32 slots, no hotplug, 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=...
2018 Oct 17
1
Re: pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port
...e-root-port and dmi-to-pci-bridge
>> 353 case VIR_DOMAIN_CONTROLLER_MODEL_PCIE_EXPANDER_BUS:
>> 354 ┆ /* 32 slots, no hotplug, 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;
> The above is consistent with pcie-root itself, which also doesn'...
2018 Oct 17
0
Re: pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port
...us only supports pcie-root-port and dmi-to-pci-bridge
> 353 case VIR_DOMAIN_CONTROLLER_MODEL_PCIE_EXPANDER_BUS:
> 354 ┆ /* 32 slots, no hotplug, 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;
The above is consistent with pcie-root itself, which also doesn't
support plugging a...