50 lines
1.5 KiB
XML
50 lines
1.5 KiB
XML
<domain type="kvm">
|
|
<name>fedora22</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<metadata>
|
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
|
<libosinfo:os id="http://fedoraproject.org/fedora/22"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>2</vcpu>
|
|
<os>
|
|
<type arch="aarch64" machine="virt">hvm</type>
|
|
<loader readonly="yes" type="pflash">/usr/share/AAVMF/AAVMF_CODE.fd</loader>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<features>
|
|
<gic version="host"/>
|
|
</features>
|
|
<cpu mode="host-passthrough"/>
|
|
<clock offset="utc"/>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
|
<disk type="file" device="disk">
|
|
<driver name="qemu" type="qcow2"/>
|
|
<source file="/var/lib/libvirt/images/disk.qcow2"/>
|
|
<target dev="vda" bus="virtio"/>
|
|
</disk>
|
|
<controller type="scsi" index="0" model="virtio-scsi">
|
|
<address type="pci"/>
|
|
</controller>
|
|
<controller type="usb" index="0" model="qemu-xhci" ports="15"/>
|
|
<interface type="network">
|
|
<source network="default"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="virtio"/>
|
|
<address type="pci"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<memballoon model="virtio"/>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
</devices>
|
|
</domain>
|