48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
|
|
<domain type='qemu'>
|
|
<name>raspbian01</name>
|
|
<memory unit='GiB'>4</memory>
|
|
<vcpu placement='static'>6</vcpu>
|
|
<os>
|
|
<type arch='aarch64' machine='virt'>hvm</type>
|
|
<kernel>/home/do/.local/share/libvirt/images/raspberrypi-kernel</kernel>
|
|
<cmdline>root=/dev/vda2 rootfstype=ext4 rw panic=0 console=ttyAMA0</cmdline>
|
|
</os>
|
|
<cpu mode='custom' match='exact'>
|
|
<model>cortex-a72</model>
|
|
</cpu>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/home/do/.local/share/libvirt/images/raspbian01.img'/>
|
|
<target dev='vda' bus='virtio'/>
|
|
</disk>
|
|
<interface type='network'>
|
|
<source network='default'/>
|
|
<model type='virtio'/>
|
|
</interface>
|
|
<serial type='pty'>
|
|
<source path='/dev/pts/4'/>
|
|
<target type='system-serial' port='0'>
|
|
<model name='pl011'/>
|
|
</target>
|
|
<alias name='serial0'/>
|
|
</serial>
|
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
|
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
|
|
</controller>
|
|
<input type='mouse' bus='usb'/>
|
|
<input type='keyboard' bus='usb'/>
|
|
<graphics type='spice' autoport='yes'>
|
|
<listen type='address'/>
|
|
<image compression='off'/>
|
|
<gl enable='no'/>
|
|
</graphics>
|
|
<audio id='1' type='none'/>
|
|
<video>
|
|
<model type='virtio' heads='1' primary='yes'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|
|
|