Tune Windows VM startup

This commit is contained in:
ltadeu6 2026-05-28 19:16:45 -03:00
parent d54100df60
commit 2d369d8a7e
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D

View file

@ -30,11 +30,25 @@ or other application using the libvirt API.
<loader readonly='yes' secure='yes' type='pflash' format='raw'>/run/libvirt/nix-ovmf/edk2-x86_64-secure-code.fd</loader> <loader readonly='yes' secure='yes' type='pflash' format='raw'>/run/libvirt/nix-ovmf/edk2-x86_64-secure-code.fd</loader>
<nvram template='/run/libvirt/nix-ovmf/edk2-i386-vars.fd' templateFormat='raw' format='raw'>/home/ltadeu6/.config/libvirt/qemu/nvram/win11-3_VARS.fd</nvram> <nvram template='/run/libvirt/nix-ovmf/edk2-i386-vars.fd' templateFormat='raw' format='raw'>/home/ltadeu6/.config/libvirt/qemu/nvram/win11-3_VARS.fd</nvram>
<boot dev='hd'/> <boot dev='hd'/>
<bootmenu enable='yes'/> <bootmenu enable='no'/>
</os> </os>
<features> <features>
<acpi/> <acpi/>
<apic/> <apic/>
<hyperv mode='custom'>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
<vpindex state='on'/>
<runtime state='on'/>
<synic state='on'/>
<stimer state='on'/>
<reset state='on'/>
<frequencies state='on'/>
<tlbflush state='on'/>
<ipi state='on'/>
</hyperv>
<vmport state='off'/>
<smm state='on'/> <smm state='on'/>
</features> </features>
<cpu mode='host-passthrough' check='none' migratable='on'> <cpu mode='host-passthrough' check='none' migratable='on'>
@ -44,6 +58,7 @@ or other application using the libvirt API.
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/> <timer name='hpet' present='no'/>
<timer name='hypervclock' present='yes'/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -60,13 +75,6 @@ or other application using the libvirt API.
<target dev='sda' bus='sata'/> <target dev='sda' bus='sata'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk> </disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/home/ltadeu6/win11/Win11-Custom.iso' startupPolicy='optional'/>
<target dev='hdc' bus='sata'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'> <controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller> </controller>