2018-08-22 09:15:27 +00:00
|
|
|
<domain type='qemu'>
|
|
|
|
<name>riscv64</name>
|
|
|
|
<uuid>fd65fc03-8838-4c4d-9d8d-395802488790</uuid>
|
|
|
|
<memory unit='KiB'>2097152</memory>
|
|
|
|
<currentMemory unit='KiB'>2097152</currentMemory>
|
|
|
|
<vcpu placement='static'>1</vcpu>
|
|
|
|
<os>
|
|
|
|
<type arch='riscv64' machine='virt'>hvm</type>
|
|
|
|
<kernel>/var/lib/libvirt/images/bbl</kernel>
|
|
|
|
<cmdline>console=ttyS0 ro root=/dev/vda</cmdline>
|
|
|
|
<boot dev='hd'/>
|
|
|
|
</os>
|
|
|
|
<clock offset='utc'/>
|
|
|
|
<on_poweroff>destroy</on_poweroff>
|
|
|
|
<on_reboot>restart</on_reboot>
|
|
|
|
<on_crash>destroy</on_crash>
|
|
|
|
<devices>
|
|
|
|
<emulator>/usr/bin/qemu-system-riscv64</emulator>
|
|
|
|
<disk type='file' device='disk'>
|
|
|
|
<driver name='qemu' type='raw'/>
|
|
|
|
<source file='/var/lib/libvirt/images/stage4-disk.img'/>
|
|
|
|
<target dev='vda' bus='virtio'/>
|
2023-03-03 07:12:39 +00:00
|
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
2018-08-22 09:15:27 +00:00
|
|
|
</disk>
|
2023-03-03 07:12:39 +00:00
|
|
|
<controller type='pci' index='0' model='pcie-root'/>
|
|
|
|
<controller type='pci' index='1' model='pcie-root-port'>
|
|
|
|
<model name='pcie-root-port'/>
|
|
|
|
<target chassis='1' port='0x8'/>
|
|
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
|
|
|
|
</controller>
|
|
|
|
<controller type='pci' index='2' model='pcie-root-port'>
|
|
|
|
<model name='pcie-root-port'/>
|
|
|
|
<target chassis='2' port='0x9'/>
|
|
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
|
|
</controller>
|
|
|
|
<controller type='pci' index='3' model='pcie-root-port'>
|
|
|
|
<model name='pcie-root-port'/>
|
|
|
|
<target chassis='3' port='0xa'/>
|
|
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
|
|
</controller>
|
2018-08-22 09:15:27 +00:00
|
|
|
<serial type='pty'>
|
2018-08-27 08:25:17 +00:00
|
|
|
<target type='system-serial' port='0'>
|
|
|
|
<model name='16550a'/>
|
|
|
|
</target>
|
2018-08-22 09:15:27 +00:00
|
|
|
</serial>
|
|
|
|
<console type='pty'>
|
|
|
|
<target type='serial' port='0'/>
|
|
|
|
</console>
|
2021-02-24 14:24:10 +00:00
|
|
|
<audio id='1' type='none'/>
|
2018-08-22 09:15:27 +00:00
|
|
|
<memballoon model='virtio'>
|
2023-03-03 07:12:39 +00:00
|
|
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
2018-08-22 09:15:27 +00:00
|
|
|
</memballoon>
|
|
|
|
</devices>
|
|
|
|
</domain>
|