Modify predefined devices

disable secureboot, bump QEMU machine to 7.2,
add netboot.iso and CDROM device, enable KVM hidden state
This commit is contained in:
lukas 2023-06-21 11:30:16 -05:00
parent e69874470d
commit 84d01a4a25

View File

@ -1,15 +1,17 @@
<domain type='kvm'> <domain type='kvm'>
<name>Windows NT</name> <name>WindowsNT10</name>
<memory unit='KiB'>4194304</memory> <memory unit='KiB'>4194304</memory>
<description>System-based Q35 UEFI-based virtual machine optimized for Windows NT guests, starting at Windows 10</description> <description>QEMU virtual machine model optimized for Windows NT 10 guests such as Windows 10. Secure boot is disabled</description>
<currentMemory unit='KiB'>4194304</currentMemory> <currentMemory unit='KiB'>4194304</currentMemory>
<memoryBacking> <memoryBacking>
<source type="memfd"/> <source type="memfd"/>
<access mode="shared"/> <access mode="shared"/>
</memoryBacking> </memoryBacking>
<vcpu placement='static'>4</vcpu> <vcpu placement='static'>4</vcpu>
<os firmware="efi"> <os>
<type arch='x86_64' machine='pc-q35-7.0'>hvm</type> <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> </os>
<features> <features>
<acpi/> <acpi/>
@ -22,10 +24,14 @@
<runtime state="on"/> <runtime state="on"/>
<synic state="on"/> <synic state="on"/>
<stimer state="on"/> <stimer state="on"/>
<vendor_id state='on' value='Phyllome OS'/>
<frequencies state="on"/> <frequencies state="on"/>
<tlbflush state="on"/> <tlbflush state="on"/>
<ipi state="on"/> <ipi state="on"/>
</hyperv> </hyperv>
<kvm>
<hidden state='on'/>
</kvm>
<vmport state="off"/> <vmport state="off"/>
</features> </features>
<cpu mode="host-passthrough" check="none" migratable="on"> <cpu mode="host-passthrough" check="none" migratable="on">
@ -46,6 +52,12 @@
</pm> </pm>
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <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 type='virtio-serial' index='0'>
</controller> </controller>
<interface type="network"> <interface type="network">