2025-12-16 09:51:16 -05:00
|
|
|
|
<domain type="kvm">
|
|
|
|
|
|
<name>Windows Server 2025</name>
|
|
|
|
|
|
<uuid>c1b2d3e4-5678-90ab-cdef-1234567890ab</uuid>
|
|
|
|
|
|
<description>Windows Server 2025 - Overpowered VM</description>
|
|
|
|
|
|
<metadata>
|
|
|
|
|
|
<vmtemplate xmlns="unraid" name="Windows Server 2025" icon="windows.png" os="windowstpm"/>
|
|
|
|
|
|
</metadata>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Memory: 64 GB -->
|
|
|
|
|
|
<memory unit="KiB">67108864</memory>
|
|
|
|
|
|
<currentMemory unit="KiB">67108864</currentMemory>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- vCPUs: 32 threads (16 cores × 2 threads) -->
|
|
|
|
|
|
<vcpu placement="static">32</vcpu>
|
|
|
|
|
|
<iothreads>4</iothreads>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Modern CPU model -->
|
|
|
|
|
|
<cpu mode="custom" match="exact" check="full">
|
|
|
|
|
|
<model fallback="allow">Zen-5</model>
|
|
|
|
|
|
<topology sockets="1" dies="1" cores="16" threads="2"/>
|
|
|
|
|
|
<feature policy="require" name="svm"/>
|
|
|
|
|
|
<feature policy="require" name="hypervisor"/>
|
|
|
|
|
|
</cpu>
|
|
|
|
|
|
|
|
|
|
|
|
<os>
|
|
|
|
|
|
<type arch="x86_64" machine="pc-q35-7.2">hvm</type>
|
|
|
|
|
|
<loader readonly="yes" type="pflash">/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
|
|
|
|
|
|
<nvram>/etc/libvirt/qemu/nvram/win2025_VARS-pure-efi-tpm.fd</nvram>
|
|
|
|
|
|
</os>
|
|
|
|
|
|
|
|
|
|
|
|
<features>
|
|
|
|
|
|
<acpi/>
|
|
|
|
|
|
<apic/>
|
|
|
|
|
|
<hyperv mode="custom">
|
|
|
|
|
|
<relaxed state="on"/>
|
|
|
|
|
|
<vapic state="on"/>
|
|
|
|
|
|
<spinlocks state="on" retries="8191"/>
|
|
|
|
|
|
<vpindex state="on"/>
|
|
|
|
|
|
<synic state="on"/>
|
|
|
|
|
|
<stimer state="on"/>
|
|
|
|
|
|
<vendor_id state="on" value="none"/>
|
|
|
|
|
|
</hyperv>
|
|
|
|
|
|
</features>
|
|
|
|
|
|
|
|
|
|
|
|
<clock offset="localtime">
|
|
|
|
|
|
<timer name="hypervclock" present="yes"/>
|
|
|
|
|
|
<timer name="hpet" present="no"/>
|
|
|
|
|
|
</clock>
|
|
|
|
|
|
|
|
|
|
|
|
<on_poweroff>destroy</on_poweroff>
|
|
|
|
|
|
<on_reboot>restart</on_reboot>
|
|
|
|
|
|
<on_crash>restart</on_crash>
|
|
|
|
|
|
|
|
|
|
|
|
<devices>
|
|
|
|
|
|
<emulator>/usr/local/sbin/qemu</emulator>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- GPU passthrough (graphics + audio) -->
|
|
|
|
|
|
<hostdev mode="subsystem" type="pci" managed="yes">
|
|
|
|
|
|
<driver name="vfio"/>
|
|
|
|
|
|
<source>
|
|
|
|
|
|
<address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
|
|
|
|
|
|
</source>
|
|
|
|
|
|
<address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
|
|
|
|
|
|
</hostdev>
|
|
|
|
|
|
<hostdev mode="subsystem" type="pci" managed="yes">
|
|
|
|
|
|
<driver name="vfio"/>
|
|
|
|
|
|
<source>
|
|
|
|
|
|
<address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
|
|
|
|
|
|
</source>
|
|
|
|
|
|
<address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x1"/>
|
|
|
|
|
|
</hostdev>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Looking Glass ivshmem -->
|
|
|
|
|
|
<shmem name="looking-glass">
|
|
|
|
|
|
<model type="ivshmem"/>
|
|
|
|
|
|
<size unit="M">128</size>
|
|
|
|
|
|
</shmem>
|
|
|
|
|
|
<channel type="unix">
|
|
|
|
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
|
|
|
|
<address type="virtio-serial" controller="0" bus="0" port="1"/>
|
|
|
|
|
|
</channel>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Alternate virtual audio device (AC97) for VNC/SPICE or fallback -->
|
|
|
|
|
|
<sound model="ac97"/>
|
|
|
|
|
|
<audio id="1" type="pulseaudio"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Fast SSD disk -->
|
|
|
|
|
|
<disk type="file" device="disk">
|
|
|
|
|
|
<driver name="qemu" type="qcow2" cache="none" io="native"/>
|
|
|
|
|
|
<source file="/var/lib/libvirt/images/win2025-ssd.qcow2"/>
|
|
|
|
|
|
<target dev="vda" bus="virtio"/>
|
|
|
|
|
|
<boot order="1"/>
|
|
|
|
|
|
</disk>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Windows Server 2025 installer ISO -->
|
|
|
|
|
|
<disk type="file" device="cdrom">
|
|
|
|
|
|
<driver name="qemu" type="raw"/>
|
|
|
|
|
|
<source file="/var/lib/libvirt/boot/Win2025.iso"/>
|
|
|
|
|
|
<target dev="sda" bus="sata"/>
|
|
|
|
|
|
<boot order="2"/>
|
|
|
|
|
|
<readonly/>
|
|
|
|
|
|
</disk>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- VirtIO drivers ISO -->
|
|
|
|
|
|
<disk type="file" device="cdrom">
|
|
|
|
|
|
<driver name="qemu" type="raw"/>
|
|
|
|
|
|
<source file="/var/lib/libvirt/boot/virtio-win.iso"/>
|
|
|
|
|
|
<target dev="sdb" bus="sata"/>
|
|
|
|
|
|
<readonly/>
|
|
|
|
|
|
</disk>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Controllers -->
|
|
|
|
|
|
<controller type="pci" index="0" model="pcie-root"/>
|
|
|
|
|
|
<controller type="pci" index="1" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="2" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="3" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="4" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="5" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="6" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="7" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="8" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="9" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="10" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="pci" index="11" model="pcie-to-pci-bridge"/>
|
|
|
|
|
|
<controller type="pci" index="12" model="pcie-root-port"/>
|
|
|
|
|
|
<controller type="virtio-serial" index="0"/>
|
|
|
|
|
|
<controller type="sata" index="0"/>
|
|
|
|
|
|
<controller type="usb" index="0" model="qemu-xhci" ports="15"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Network -->
|
|
|
|
|
|
<interface type="bridge">
|
|
|
|
|
|
<mac address="52:54:00:19:a0:d2"/>
|
|
|
|
|
|
<source bridge="br0.1"/>
|
|
|
|
|
|
<model type="virtio"/>
|
|
|
|
|
|
</interface>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Inputs -->
|
|
|
|
|
|
<input type="tablet" bus="usb"/>
|
|
|
|
|
|
<input type="mouse" bus="ps2"/>
|
|
|
|
|
|
<input type="keyboard" bus="ps2"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TPM -->
|
|
|
|
|
|
<tpm model="tpm-tis">
|
|
|
|
|
|
<backend type="emulator" version="2.0" persistent_state="yes"/>
|
|
|
|
|
|
</tpm>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Misc -->
|
|
|
|
|
|
<serial type="pty"/>
|
|
|
|
|
|
<console type="pty"/>
|
|
|
|
|
|
<memballoon model="none"/>
|
|
|
|
|
|
</devices>
|
|
|
|
|
|
</domain>
|