Windows on QEMU fix idle CPU usage

Published (last updated )

See: https://altechnative.net/virtualized-windows-10-idle-cpu-consumption/ And: https://www.qemu.org/docs/master/system/i386/hyperv.html

In the domain XML of your Windows virtual machine, under , configure the following:

<hyperv mode="custom">
      <relaxed state="on"/>
      <vapic state="on"/>
      <spinlocks state="on" retries="8191"/>
      <vpindex state="on"/>
      <synic state="on"/>
      <stimer state="on"/>
</hyperv>