mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-25 06:03:55 +03:00
db6c7070e2
Back when this was introduced in 2014 (commit aa772f01e124) using virtio-scsi instead of virtio-blk made sense, because virtio-pci support on aarch64/virt was still not widely available and virtio-mmio couldn't do hotplug. These days, however, virtio-pci availability is something that we can assume is present on any remotely reasonable deployment target, so it's better to no longer behave differently than other architectures. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
42 lines
1.3 KiB
XML
42 lines
1.3 KiB
XML
<domain type="kvm">
|
|
<name>foobar</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/21"/>
|
|
</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>
|
|
<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="/dev/default-pool/testvol1.img"/>
|
|
<target dev="vda" bus="virtio"/>
|
|
</disk>
|
|
<controller type="usb" index="0" model="qemu-xhci" ports="15"/>
|
|
<interface type="bridge">
|
|
<source bridge="eth0"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="virtio"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
</devices>
|
|
</domain>
|