mirror of https://gitee.com/openkylin/libvirt.git
37 lines
1.2 KiB
XML
37 lines
1.2 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/bin/qemu-system-x86_64</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='pcie-root-port'/>
|
|
<controller type='pci' index='2' model='pcie-expander-bus'>
|
|
<address type='pci' bus='1'/>
|
|
</controller>
|
|
<memballoon model='none'/>
|
|
</devices>
|
|
</domain>
|