libvirt/tests/qemuxml2xmloutdata/riscv64-virt.xml

38 lines
1.1 KiB
XML
Raw Normal View History

<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'>
<target type='system-serial' port='0'>
<model name='16550a'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<memballoon model='virtio'>
<address type='virtio-mmio'/>
</memballoon>
</devices>
</domain>