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'>
<name>Windows NT</name>
<name>WindowsNT10</name>
<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>
<memoryBacking>
<source type="memfd"/>
<access mode="shared"/>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<os firmware="efi">
<type arch='x86_64' machine='pc-q35-7.0'>hvm</type>
<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/>
@ -22,10 +24,14 @@
<runtime state="on"/>
<synic state="on"/>
<stimer state="on"/>
<vendor_id state='on' value='Phyllome OS'/>
<frequencies state="on"/>
<tlbflush state="on"/>
<ipi state="on"/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
<vmport state="off"/>
</features>
<cpu mode="host-passthrough" check="none" migratable="on">
@ -46,6 +52,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="network">