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'/>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</disk>
|
|
|
|
<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>
|
|
|
|
<memballoon model='virtio'>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</memballoon>
|
|
|
|
</devices>
|
|
|
|
</domain>
|