add virtio sound, switch to automatic efi firmware, change virtio fs path
This commit is contained in:
parent
518b87325f
commit
3a350f2f12
@ -9,10 +9,10 @@
|
|||||||
<access mode="shared"/>
|
<access mode="shared"/>
|
||||||
</memoryBacking>
|
</memoryBacking>
|
||||||
<vcpu placement='static'>4</vcpu>
|
<vcpu placement='static'>4</vcpu>
|
||||||
<os>
|
<os firmware="efi">
|
||||||
<type arch='x86_64' machine='q35'>hvm</type>
|
<type arch="x86_64" machine="q35">hvm</type>
|
||||||
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
<loader secure='no'/>
|
||||||
<boot dev='cdrom'/>
|
<boot dev="cdrom"/>
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
@ -80,12 +80,13 @@
|
|||||||
<rng model='virtio'>
|
<rng model='virtio'>
|
||||||
<backend model='random'>/dev/urandom</backend>
|
<backend model='random'>/dev/urandom</backend>
|
||||||
</rng>
|
</rng>
|
||||||
|
<sound model="virtio"/>
|
||||||
<filesystem type="mount" accessmode="passthrough">
|
<filesystem type="mount" accessmode="passthrough">
|
||||||
<driver type="virtiofs"/>
|
<driver type="virtiofs"/>
|
||||||
<source dir="/mnt/"/>
|
<source dir="/var/lib/libvirt/isos/"/>
|
||||||
<target dir="share"/>
|
<target dir="isos"/>
|
||||||
|
<readonly/>
|
||||||
</filesystem>
|
</filesystem>
|
||||||
<iommu model="virtio"/>
|
<iommu model="virtio"/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user