2023-12-16 16:26:37 +00:00
|
|
|
<domain type='qemu'>
|
|
|
|
<name>armtest</name>
|
|
|
|
<uuid>496d7ea8-9739-544b-4ebd-ef08be936e6a</uuid>
|
|
|
|
<memory unit='KiB'>1048576</memory>
|
|
|
|
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
|
|
<vcpu placement='static'>1</vcpu>
|
|
|
|
<os>
|
|
|
|
<type arch='armv7l' machine='vexpress-a9'>hvm</type>
|
|
|
|
<kernel>/arm.kernel</kernel>
|
|
|
|
<initrd>/arm.initrd</initrd>
|
|
|
|
<cmdline>console=ttyAMA0,115200n8 rw root=/dev/vda3 rootwait physmap.enabled=0</cmdline>
|
|
|
|
<dtb>/arm.dtb</dtb>
|
|
|
|
<boot dev='hd'/>
|
|
|
|
</os>
|
|
|
|
<cpu mode='custom' match='exact' check='none'>
|
|
|
|
<model fallback='forbid'>cortex-a9</model>
|
|
|
|
</cpu>
|
|
|
|
<clock offset='utc'/>
|
|
|
|
<on_poweroff>destroy</on_poweroff>
|
|
|
|
<on_reboot>restart</on_reboot>
|
|
|
|
<on_crash>restart</on_crash>
|
|
|
|
<devices>
|
|
|
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
|
|
|
<disk type='file' device='disk'>
|
|
|
|
<driver name='qemu' type='raw'/>
|
|
|
|
<source file='/arm.raw'/>
|
|
|
|
<target dev='vda' bus='virtio'/>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</disk>
|
|
|
|
<controller type='virtio-serial' index='0'>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</controller>
|
|
|
|
<interface type='user'>
|
|
|
|
<mac address='52:54:00:09:a4:37'/>
|
|
|
|
<model type='virtio'/>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</interface>
|
|
|
|
<serial type='pty'>
|
|
|
|
<target port='0'/>
|
|
|
|
</serial>
|
|
|
|
<console type='pty'>
|
|
|
|
<target type='serial' port='0'/>
|
|
|
|
</console>
|
|
|
|
<console type='pty'>
|
|
|
|
<target type='virtio' port='1'/>
|
|
|
|
</console>
|
2024-04-11 20:12:44 +00:00
|
|
|
<sound model='virtio' streams='2'>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</sound>
|
2023-12-16 16:26:37 +00:00
|
|
|
<audio id='1' type='none'/>
|
|
|
|
<memballoon model='virtio'>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</memballoon>
|
|
|
|
<rng model='virtio'>
|
|
|
|
<backend model='random'>/dev/random</backend>
|
|
|
|
<address type='virtio-mmio'/>
|
|
|
|
</rng>
|
|
|
|
</devices>
|
|
|
|
</domain>
|