Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Windows 10 qemu/kvm optimizations CPU usage #virt-manager
<domain type="kvm">
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<type arch="x86_64" machine="pc-q35-5.0">hvm</type>
<!-- ... -->
<!-- ... -->
<relaxed state="on"/>
<vapic state="on"/>
<spinlocks state="on" retries="8191"/>
<vpindex state="on"/>
<runtime state="on"/>
<synic state="on"/>
<stimer state="on">
<direct state="on"/>
<reset state="on"/>
<vendor_id state="on" value="1234567890ab"/>
<frequencies state="on"/>
<ipi state="on"/>
<evmcs state="on"/>
<hidden state="off"/>
<vmport state="off"/>
<smm state="on"/>
<cpu mode="custom" match="exact" check="partial">
<model fallback="allow">Skylake-Client-IBRS</model>
<feature policy="require" name="ibpb"/>
<feature policy="require" name="md-clear"/>
<feature policy="require" name="spec-ctrl"/>
<feature policy="require" name="ssbd"/>
<clock offset="localtime">
<timer name="rtc" present="yes" tickpolicy="catchup" track="guest"/>
<timer name="pit" present="yes" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
<timer name="hypervclock" present="yes"/>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<!--source file="...../win10.qcow2"/-->
<target dev="vda" bus="virtio"/>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
<model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="2"/>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="3"/>
<memballoon model="virtio">
<address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
<rng model="virtio">
<backend model="random">/dev/urandom</backend>
<address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
<panic model="hyperv"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment