Created
April 6, 2019 08:18
-
-
Save yvesh/dc330add4e9317819260b47b654c7833 to your computer and use it in GitHub Desktop.
KVM / QEMU ThreadRipper 2970WX - Windows 10 with 8 Core (4 + 2 Threads), pc-i440fx, RX 580 passhtrough, cpu pinning, L3 cache, numatune, host-model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm' id='10'> | |
<name>win10-3</name> | |
<uuid>c2e12168-4bb9-4953-95b3-a1cbc1b24be1</uuid> | |
<memory unit='KiB'>16777216</memory> | |
<currentMemory unit='KiB'>16777216</currentMemory> | |
<vcpu placement='static' cpuset='0-3,24-27'>8</vcpu> | |
<cputune> | |
<vcpupin vcpu='0' cpuset='0'/> | |
<vcpupin vcpu='1' cpuset='24'/> | |
<vcpupin vcpu='2' cpuset='1'/> | |
<vcpupin vcpu='3' cpuset='25'/> | |
<vcpupin vcpu='4' cpuset='2'/> | |
<vcpupin vcpu='5' cpuset='26'/> | |
<vcpupin vcpu='6' cpuset='3'/> | |
<vcpupin vcpu='7' cpuset='27'/> | |
<emulatorpin cpuset='0-3,24-27'/> | |
</cputune> | |
<numatune> | |
<memory mode='strict' nodeset='0'/> | |
</numatune> | |
<resource> | |
<partition>/machine</partition> | |
</resource> | |
<os> | |
<type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type> | |
<loader readonly='yes' type='pflash'>/usr/share/edk2-ovmf/OVMF_CODE.fd</loader> | |
<nvram>/var/lib/libvirt/qemu/nvram/win10_VARS3.fd</nvram> | |
<boot dev='hd'/> | |
</os> | |
<features> | |
<acpi/> | |
<apic/> | |
<hyperv> | |
<relaxed state='on'/> | |
<vapic state='on'/> | |
<spinlocks state='on' retries='8191'/> | |
</hyperv> | |
<vmport state='off'/> | |
</features> | |
<cpu mode='custom' match='exact' check='full'> | |
<model fallback='forbid'>EPYC-IBPB</model> | |
<vendor>AMD</vendor> | |
<topology sockets='1' cores='4' threads='2'/> | |
<cache level='3' mode='emulate'/> | |
<feature policy='require' name='tsc-deadline'/> | |
<feature policy='require' name='hypervisor'/> | |
<feature policy='require' name='tsc_adjust'/> | |
<feature policy='require' name='cmp_legacy'/> | |
<feature policy='require' name='perfctr_core'/> | |
<feature policy='require' name='virt-ssbd'/> | |
<feature policy='disable' name='monitor'/> | |
<feature policy='disable' name='x2apic'/> | |
<feature policy='disable' name='svm'/> | |
<feature policy='require' name='topoext'/> | |
<numa> | |
<cell id='0' cpus='0-7' memory='16777216' unit='KiB'/> | |
</numa> | |
</cpu> | |
<clock offset='localtime'> | |
<timer name='rtc' tickpolicy='catchup'/> | |
<timer name='pit' tickpolicy='delay'/> | |
<timer name='hpet' present='no'/> | |
<timer name='hypervclock' present='yes'/> | |
</clock> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>restart</on_crash> | |
<pm> | |
<suspend-to-mem enabled='no'/> | |
<suspend-to-disk enabled='no'/> | |
</pm> | |
<devices> | |
<emulator>/usr/bin/qemu-system-x86_64</emulator> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='qcow2' cache='none' io='threads' discard='ignore'/> | |
<source file='/var/lib/libvirt/images/win10.qcow2'/> | |
<backingStore/> | |
<target dev='sda' bus='sata'/> | |
<alias name='sata0-0-0'/> | |
<address type='drive' controller='0' bus='0' target='0' unit='0'/> | |
</disk> | |
<controller type='pci' index='0' model='pci-root'> | |
<alias name='pci.0'/> | |
</controller> | |
<controller type='pci' index='1' model='pci-bridge'> | |
<model name='pci-bridge'/> | |
<target chassisNr='1'/> | |
<alias name='pci.1'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> | |
</controller> | |
<controller type='pci' index='2' model='pci-bridge'> | |
<model name='pci-bridge'/> | |
<target chassisNr='2'/> | |
<alias name='pci.2'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> | |
</controller> | |
<controller type='virtio-serial' index='0'> | |
<alias name='virtio-serial0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | |
</controller> | |
<controller type='sata' index='0'> | |
<alias name='sata0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> | |
</controller> | |
<controller type='usb' index='0' model='qemu-xhci' ports='15'> | |
<alias name='usb'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | |
</controller> | |
<interface type='network'> | |
<mac address='52:54:00:4a:5c:f7'/> | |
<source network='default' bridge='virbr0'/> | |
<target dev='vnet0'/> | |
<model type='rtl8139'/> | |
<alias name='net0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | |
</interface> | |
<serial type='pty'> | |
<source path='/dev/pts/6'/> | |
<target type='isa-serial' port='0'> | |
<model name='isa-serial'/> | |
</target> | |
<alias name='serial0'/> | |
</serial> | |
<console type='pty' tty='/dev/pts/6'> | |
<source path='/dev/pts/6'/> | |
<target type='serial' port='0'/> | |
<alias name='serial0'/> | |
</console> | |
<channel type='spicevmc'> | |
<target type='virtio' name='com.redhat.spice.0' state='disconnected'/> | |
<alias name='channel0'/> | |
<address type='virtio-serial' controller='0' bus='0' port='1'/> | |
</channel> | |
<input type='mouse' bus='ps2'> | |
<alias name='input0'/> | |
</input> | |
<input type='keyboard' bus='ps2'> | |
<alias name='input1'/> | |
</input> | |
<input type='tablet' bus='virtio'> | |
<alias name='input2'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> | |
</input> | |
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1' keymap='de'> | |
<listen type='address' address='127.0.0.1'/> | |
<image compression='off'/> | |
<gl enable='no' rendernode='/dev/dri/by-path/pci-0000:0c:00.0-render'/> | |
</graphics> | |
<sound model='ich9'> | |
<alias name='sound0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | |
</sound> | |
<video> | |
<model type='cirrus' vram='16384' heads='1' primary='yes'/> | |
<alias name='video0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/> | |
</video> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<driver name='vfio'/> | |
<source> | |
<address domain='0x0000' bus='0x42' slot='0x00' function='0x0'/> | |
</source> | |
<alias name='hostdev0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<driver name='vfio'/> | |
<source> | |
<address domain='0x0000' bus='0x42' slot='0x00' function='0x1'/> | |
</source> | |
<alias name='hostdev1'/> | |
<rom bar='off'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='usb' managed='yes'> | |
<source> | |
<vendor id='0x1e7d'/> | |
<product id='0x31ce'/> | |
<address bus='1' device='3'/> | |
</source> | |
<alias name='hostdev2'/> | |
<address type='usb' bus='0' port='2'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='usb' managed='yes'> | |
<source> | |
<vendor id='0x1532'/> | |
<product id='0x005c'/> | |
<address bus='5' device='5'/> | |
</source> | |
<alias name='hostdev3'/> | |
<address type='usb' bus='0' port='1'/> | |
</hostdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<alias name='redir0'/> | |
<address type='usb' bus='0' port='3'/> | |
</redirdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<alias name='redir1'/> | |
<address type='usb' bus='0' port='4'/> | |
</redirdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<alias name='redir2'/> | |
<address type='usb' bus='0' port='5'/> | |
</redirdev> | |
<memballoon model='virtio'> | |
<alias name='balloon0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> | |
</memballoon> | |
<shmem name='looking-glass'> | |
<model type='ivshmem-plain'/> | |
<size unit='M'>32</size> | |
<alias name='shmem0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> | |
</shmem> | |
</devices> | |
<seclabel type='dynamic' model='dac' relabel='yes'> | |
<label>+77:+77</label> | |
<imagelabel>+77:+77</imagelabel> | |
</seclabel> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment