q35: Add PCIe switch to example q35 configuration
PATCH 1/1 q35: Add PCIe switch to example q35 configuration
Signed-off-by Alex Williamson <[email protected]>
--- docs/q35-chipset.cfg | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
docs/q35-chipset.cfg +23 -0
@@ -91,6 +91,29 @@ port = "4" chassis = "4" +## +# Example PCIe switch with two downstream ports +# +#[device "pcie-switch-upstream-port-1"] +# driver = "x3130-upstream" +# bus = "ich9-pcie-port-4" +# addr = "00.0" +# +#[device "pcie-switch-downstream-port-1-1"] +# driver = "xio3130-downstream" +# multifunction = "on" +# bus = "pcie-switch-upstream-port-1" +# addr = "00.0" +# port = "1" +# chassis = "5" +# +#[device "pcie-switch-downstream-port-1-2"] +# driver = "xio3130-downstream" +# multifunction = "on" +# bus = "pcie-switch-upstream-port-1" +# addr = "00.1" +# port = "1" +# chassis = "6" [device "ich9-ehci-1"] driver = "ich9-usb-ehci1"
Quoted 29 lines · Alex Williamson
Signed-off-by Alex Williamson <[email protected]>--- docs/q35-chipset.cfg | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)docs/q35-chipset.cfg +16
-0@@ -91,6 +91,29 @@ port = "4" chassis = "4" +## +# Example PCIe switch with two downstream ports +# +#[device "pcie-switch-upstream-port-1"] +# driver = "x3130-upstream" +# bus = "ich9-pcie-port-4" +# addr = "00.0" +# +#[device "pcie-switch-downstream-port-1-1"] +# driver = "xio3130-downstream" +# multifunction = "on" +# bus = "pcie-switch-upstream-port-1" +# addr = "00.0" +# port = "1" +# chassis = "5" +#
docs/q35-chipset.cfg line 119
Quoted 10 lines
docs/q35-chipset.cfg +7
-0+#[device "pcie-switch-downstream-port-1-2"] +# driver = "xio3130-downstream" +# multifunction = "on" +# bus = "pcie-switch-upstream-port-1" +# addr = "00.1" +# port = "1" +# chassis = "6" [device "ich9-ehci-1"] driver = "ich9-usb-ehci1"
Yes, please!
I decommented the three device definitions, and the result looks fine in info qtree.
A brief hint at why you would want a PCIe switch in the comment would perhaps be nice.
Michael S. Tsirkin
AppliedQuoted 1 line · Alex Williamson
Signed-off-by Alex Williamson <[email protected]>
Thanks, applied.
Quoted 38 lines
--- docs/q35-chipset.cfg | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)docs/q35-chipset.cfg +23
-0@@ -91,6 +91,29 @@ port = "4" chassis = "4" +## +# Example PCIe switch with two downstream ports +# +#[device "pcie-switch-upstream-port-1"] +# driver = "x3130-upstream" +# bus = "ich9-pcie-port-4" +# addr = "00.0" +# +#[device "pcie-switch-downstream-port-1-1"] +# driver = "xio3130-downstream" +# multifunction = "on" +# bus = "pcie-switch-upstream-port-1" +# addr = "00.0" +# port = "1" +# chassis = "5" +# +#[device "pcie-switch-downstream-port-1-2"] +# driver = "xio3130-downstream" +# multifunction = "on" +# bus = "pcie-switch-upstream-port-1" +# addr = "00.1" +# port = "1" +# chassis = "6" [device "ich9-ehci-1"] driver = "ich9-usb-ehci1"