mirror of
https://github.com/PhyllomeOS/xml-definition-for-domains.git
synced 2024-12-22 05:35:22 +00:00
Modify predefined devices
Add virtio memory balloon device, reduce default memory allocation to 1024MB, disable secureboot, bump QEMU machine to 7.2, add netboot.iso and CDROM device
This commit is contained in:
parent
10bf571d55
commit
046b41d77d
@ -1,12 +1,14 @@
|
||||
<domain type='kvm'>
|
||||
<name>Linux</name>
|
||||
<name>Linux5.4</name>
|
||||
<memory unit='KiB'>4194304</memory>
|
||||
<description>Session-based Q35 UEFI-based virtual machine optimized for Linux guests using a modern distribution</description>
|
||||
<currentMemory unit='KiB'>4194304</currentMemory>
|
||||
<description>Rootless QEMU virtual machine model optimized for Linux guests running at least kernel 5.4. Secure boot is disabled</description>
|
||||
<memory unit="KiB">4194304</memory>
|
||||
<currentMemory unit="KiB">1048576</currentMemory>
|
||||
<vcpu placement='static'>4</vcpu>
|
||||
<os firmware="efi">
|
||||
<type arch='x86_64' machine='pc-q35-7.0'>hvm</type>
|
||||
<loader secure='yes'/>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
|
||||
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
||||
<boot dev='cdrom'/>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
@ -30,6 +32,12 @@
|
||||
</pm>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<disk type="file" device="cdrom">
|
||||
<driver name="qemu" type="raw"/>
|
||||
<source file="/var/lib/libvirt/isos/netboot.xyz.iso"/>
|
||||
<target dev="sda" bus="sata"/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<controller type='virtio-serial' index='0'>
|
||||
</controller>
|
||||
<interface type='user'>
|
||||
@ -63,7 +71,7 @@
|
||||
<acceleration accel3d="yes"/>
|
||||
</model>
|
||||
</video>
|
||||
<memballoon model='none'/>
|
||||
<memballoon model="virtio"/>
|
||||
<rng model='virtio'>
|
||||
<backend model='random'>/dev/urandom</backend>
|
||||
</rng>
|
Loading…
Reference in New Issue
Block a user