1
0
Fork 0

tweak hyperv enlightments

This commit is contained in:
Massaki Archambault 2021-11-21 02:22:14 -05:00
parent 7fe8780f87
commit 24b10017cb
1 changed files with 12 additions and 14 deletions

View File

@ -42,18 +42,20 @@
<vapic state='on'/> <vapic state='on'/>
<spinlocks state='on' retries='8191'/> <spinlocks state='on' retries='8191'/>
<vpindex state='on'/> <vpindex state='on'/>
<runtime state='on'/>
<synic state='on'/> <synic state='on'/>
<stimer state='on'/> <stimer state="on">
<tlbflush state='on'/> <direct state="on"/>
<ipi state='on'/> </stimer>
<reset state='on'/> <reset state='on'/>
<vendor_id state='on' value='other'/>
<frequencies state='on'/> <frequencies state='on'/>
<reenlightenment state='on'/> <reenlightenment state='on'/>
<!-- nvidia code 43 fix --> <tlbflush state='on'/>
<vendor_id state='on' value='fNvidia'/> <ipi state='on'/>
<evmcs state='off'/>
</hyperv> </hyperv>
<kvm> <kvm>
<!-- nvidia code 43 fix -->
<hidden state='on'/> <hidden state='on'/>
</kvm> </kvm>
<vmport state='off'/> <vmport state='off'/>
@ -67,12 +69,11 @@
<!-- <feature policy="disable" name="hypervisor"/> --> <!-- <feature policy="disable" name="hypervisor"/> -->
</cpu> </cpu>
<clock offset='localtime'> <clock offset='localtime'>
<timer name='rtc' present='no' tickpolicy='catchup'/>
<timer name='pit' present='no' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
<timer name='kvmclock' present='no'/>
<timer name='hypervclock' present='yes'/>
<timer name='tsc' present='yes' mode='native'/> <timer name='tsc' present='yes' mode='native'/>
<timer name='hypervclock' present='yes'/>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<!-- Because of the reset bug, we cannot actually restart without restarting the host --> <!-- Because of the reset bug, we cannot actually restart without restarting the host -->
@ -212,9 +213,6 @@
<address type='usb' bus='0' port='3'/> <address type='usb' bus='0' port='3'/>
</redirdev> </redirdev>
<memballoon model='none'/> <memballoon model='none'/>
<!-- <memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</memballoon> -->
<shmem name='looking-glass'> <shmem name='looking-glass'>
<model type='ivshmem-plain'/> <model type='ivshmem-plain'/>
<size unit='M'>32</size> <size unit='M'>32</size>