mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
bc07251f59
This controller provides a single PCIe port on a new root. It is similar to pci-expander-bus, intended to provide a bus that can be associated with a guest-identifiable NUMA node, but is for machinetypes with PCIe rather than PCI (e.g. q35-based machinetypes). Aside from PCIe vs. PCI, the other main difference is that a pci-expander-bus has a companion pci-bridge that is automatically attached along with it, but pcie-expander-bus has only a single port, and that port will only connect to a pcie-root-port, or to a pcie-switch-upstream-port. In order for the bus to be of any use in the guest, it must have either a pcie-root-port or a pcie-switch-upstream-port attached (and one or more pcie-switch-downstream-ports attached to the pcie-switch-upstream-port).
248 lines
8.9 KiB
XML
248 lines
8.9 KiB
XML
<domain type='qemu'>
|
|
<name>pcie-expander-bus-test</name>
|
|
<uuid>11dbdcdd-4c3b-482b-8903-9bdb8c0a2774</uuid>
|
|
<memory unit='KiB'>2097152</memory>
|
|
<currentMemory unit='KiB'>2097152</currentMemory>
|
|
<vcpu placement='static'>16</vcpu>
|
|
<os>
|
|
<type arch='x86_64' machine='q35'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<cpu>
|
|
<topology sockets='2' cores='4' threads='2'/>
|
|
<numa>
|
|
<cell cpus='0-7' memory='109550' unit='KiB'/>
|
|
<cell cpus='8-15' memory='109550' unit='KiB'/>
|
|
</numa>
|
|
</cpu>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/libexec/qemu-kvm</emulator>
|
|
<disk type='block' device='disk'>
|
|
<source dev='/dev/HostVG/QEMUGuest1'/>
|
|
<target dev='sda' bus='sata'/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<controller type='pci' index='0' model='pcie-root'/>
|
|
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
|
|
<model name='i82801b11-bridge'/>
|
|
</controller>
|
|
<controller type='pci' index='2' model='pci-bridge'>
|
|
<model name='pci-bridge'/>
|
|
<target chassisNr='56'/>
|
|
</controller>
|
|
<controller type='pci' index='3' model='pcie-expander-bus'>
|
|
<model name='pxb-pcie'/>
|
|
<target busNr='254'>
|
|
<node>0</node>
|
|
</target>
|
|
<address type='pci' bus='0x00' slot='4'/>
|
|
</controller>
|
|
<controller type='pci' index='4' model='pcie-root-port'>
|
|
<target busNr='220'>
|
|
<node>1</node>
|
|
</target>
|
|
<address type='pci' bus='0x03'/>
|
|
</controller>
|
|
<controller type='pci' index='5' model='pcie-switch-upstream-port'>
|
|
<address type='pci' bus='0x04'/>
|
|
</controller>
|
|
<controller type='pci' index='6' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='7' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='8' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='9' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='10' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='11' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='12' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='13' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='14' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='15' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='16' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='17' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='18' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='19' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='20' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='21' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='22' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='23' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='24' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='25' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='26' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='27' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='28' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='29' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='30' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='31' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='32' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='33' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='34' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='35' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='36' model='pcie-switch-downstream-port'/>
|
|
<controller type='pci' index='37' model='pcie-switch-downstream-port'/>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:f1:95:51'/>
|
|
<model type='rtl8139'/>
|
|
<address type='pci' bus='6'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:5c:c6:1a'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='07'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:39:97:ac'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='8'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:ee:b9:a8'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='9'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:a9:f7:17'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='10'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:df:2b:f3'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='11'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:78:94:b4'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='12'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:6b:9b:06'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='13'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:17:df:bc'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='14'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:3b:d0:51'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='15'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:8d:2d:17'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='16'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:a7:66:af'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='17'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:54:ab:d7'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='18'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:1f:99:90'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='19'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:c8:43:87'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='20'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:df:22:b2'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='21'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:d2:9a:47'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='22'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:86:05:e2'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='23'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:8c:1c:c2'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='24'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:48:58:92'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='25'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:99:e5:bf'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='26'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:b1:8c:25'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='27'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:60:e0:d0'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='28'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:37:00:6a'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='29'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:c7:c8:ad'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='30'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:4e:a7:cf'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='31'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:00:79:69'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='32'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:47:00:6f'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='33'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:2a:8c:8b'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='34'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:ec:d5:e3'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='35'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:7e:6e:c8'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='36'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:7e:6d:c9'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' bus='37'/>
|
|
</interface>
|
|
<memballoon model='none'/>
|
|
</devices>
|
|
</domain>
|