Tune Windows VM startup
This commit is contained in:
parent
d54100df60
commit
2d369d8a7e
1 changed files with 16 additions and 8 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue