mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
400b297692
This is backed by the qemu device "pxb". The pxb device always includes a pci-bridge that is at the bus number of the pxb + 1. busNr and <node> from the <target> subelement are used to set the bus_nr and numa_node options for pxb. During post-parse we validate that the domain's machinetype is 440fx-based (since the pxb device only works on 440fx-based machines), and <node> also gets a sanity check to assure that the NUMA node specified for the pxb (if any - it's optional) actually exists on the guest.
208 lines
7.8 KiB
XML
208 lines
7.8 KiB
XML
<domain type='qemu'>
|
|
<name>expander-test</name>
|
|
<uuid>3ec6cbe1-b5a2-4515-b800-31a61855df41</uuid>
|
|
<memory unit='KiB'>219100</memory>
|
|
<currentMemory unit='KiB'>219100</currentMemory>
|
|
<vcpu placement='static'>16</vcpu>
|
|
<os>
|
|
<type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<cpu>
|
|
<topology sockets='2' cores='4' threads='2'/>
|
|
<numa>
|
|
<cell id='0' cpus='0-7' memory='109550' unit='KiB'/>
|
|
<cell id='1' 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/bin/qemu-system-x86_64</emulator>
|
|
<controller type='usb' index='0' model='none'/>
|
|
<controller type='ide' index='0'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
</controller>
|
|
<controller type='pci' index='0' model='pci-root'/>
|
|
<controller type='pci' index='1' model='pci-expander-bus'>
|
|
<model name='pxb'/>
|
|
<target busNr='254'>
|
|
<node>1</node>
|
|
</target>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
</controller>
|
|
<controller type='pci' index='2' model='pci-expander-bus'>
|
|
<model name='pxb'/>
|
|
<target busNr='252'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
|
</controller>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:f1:95:51'/>
|
|
<model type='rtl8139'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:5c:c6:1a'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:39:97:ac'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:45:28:cb'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:ee:b9:a8'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:a9:f7:17'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:df:2b:f3'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:78:94:b4'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:6b:9b:06'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:17:df:bc'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:3b:d0:51'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x10' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:8d:2d:17'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x11' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:a7:66:af'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x12' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:54:ab:d7'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x13' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:1f:99:90'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x14' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:c8:43:87'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x15' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:df:22:b2'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x16' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:d2:9a:47'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x17' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:86:05:e2'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x18' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:8c:1c:c2'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x19' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:48:58:92'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:99:e5:bf'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:b1:8c:25'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1c' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:60:e0:d0'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:37:00:6a'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:c7:c8:ad'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:4e:a7:cf'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:00:79:69'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:47:00:6f'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x02' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:2a:8c:8b'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x03' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:ec:d5:e3'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x04' function='0x0'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:7e:6e:c8'/>
|
|
<model type='e1000'/>
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x05' function='0x0'/>
|
|
</interface>
|
|
<input type='mouse' bus='ps2'/>
|
|
<input type='keyboard' bus='ps2'/>
|
|
<memballoon model='virtio'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
|
</memballoon>
|
|
</devices>
|
|
</domain>
|