Last active
February 4, 2020 01:12
-
-
Save clee/6978515205842f6c5b69f57db778e0d1 to your computer and use it in GitHub Desktop.
Windows 10 guest on 3900X/Prime X470 Pro, with RTX 2080 VFIO PCIe passthrough
This file contains 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
IOMMU Group 0: | |
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] | |
IOMMU Group 1: | |
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483] | |
IOMMU Group 2: | |
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483] | |
IOMMU Group 3: | |
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] | |
IOMMU Group 4: | |
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] | |
IOMMU Group 5: | |
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483] | |
IOMMU Group 6: | |
00:03.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483] | |
IOMMU Group 7: | |
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] | |
IOMMU Group 8: | |
00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] | |
IOMMU Group 9: | |
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] | |
IOMMU Group 10: | |
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484] | |
IOMMU Group 11: | |
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] | |
IOMMU Group 12: | |
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484] | |
IOMMU Group 13: | |
00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484] | |
IOMMU Group 14: | |
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484] | |
IOMMU Group 15: | |
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61) | |
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51) | |
IOMMU Group 16: | |
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 0 [1022:1440] | |
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 1 [1022:1441] | |
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 2 [1022:1442] | |
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 3 [1022:1443] | |
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 4 [1022:1444] | |
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 5 [1022:1445] | |
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 6 [1022:1446] | |
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 7 [1022:1447] | |
IOMMU Group 17: | |
01:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E12 NVMe Controller [1987:5012] (rev 01) | |
IOMMU Group 18: | |
02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43d0] (rev 01) | |
02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller [1022:43c8] (rev 01) | |
02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge [1022:43c6] (rev 01) | |
03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) | |
03:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) | |
03:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) | |
03:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) | |
03:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) | |
04:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02) | |
05:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242] | |
07:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03) | |
08:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E12 NVMe Controller [1987:5012] (rev 01) | |
IOMMU Group 19: | |
09:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev c4) | |
IOMMU Group 20: | |
0a:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479] | |
IOMMU Group 21: | |
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c4) | |
IOMMU Group 22: | |
0b:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38] | |
IOMMU Group 23: | |
0c:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2080] [10de:1e82] (rev a1) | |
0c:00.1 Audio device [0403]: NVIDIA Corporation TU104 HD Audio Controller [10de:10f8] (rev a1) | |
0c:00.2 USB controller [0c03]: NVIDIA Corporation TU104 USB 3.1 Host Controller [10de:1ad8] (rev a1) | |
0c:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU104 USB Type-C UCSI Controller [10de:1ad9] (rev a1) | |
IOMMU Group 24: | |
0d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a] | |
IOMMU Group 25: | |
0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485] | |
IOMMU Group 26: | |
0e:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486] | |
IOMMU Group 27: | |
0e:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c] | |
IOMMU Group 28: | |
0e:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487] | |
IOMMU Group 29: | |
0f:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51) | |
IOMMU Group 30: | |
10:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51) |
This file contains 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'> | |
<name>win10</name> | |
<uuid>{UUID}</uuid> | |
<metadata> | |
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
<libosinfo:os id="http://microsoft.com/win/10"/> | |
</libosinfo:libosinfo> | |
</metadata> | |
<memory unit='KiB'>16777216</memory> | |
<currentMemory unit='KiB'>16777216</currentMemory> | |
<vcpu placement='static'>12</vcpu> | |
<iothreads>1</iothreads> | |
<cputune> | |
<vcpupin vcpu='0' cpuset='6'/> | |
<vcpupin vcpu='1' cpuset='18'/> | |
<vcpupin vcpu='2' cpuset='7'/> | |
<vcpupin vcpu='3' cpuset='19'/> | |
<vcpupin vcpu='4' cpuset='8'/> | |
<vcpupin vcpu='5' cpuset='20'/> | |
<vcpupin vcpu='6' cpuset='9'/> | |
<vcpupin vcpu='7' cpuset='21'/> | |
<vcpupin vcpu='8' cpuset='10'/> | |
<vcpupin vcpu='9' cpuset='22'/> | |
<vcpupin vcpu='10' cpuset='11'/> | |
<vcpupin vcpu='11' cpuset='23'/> | |
<emulatorpin cpuset='0-1'/> | |
<iothreadpin iothread='1' cpuset='0-1'/> | |
</cputune> | |
<os> | |
<type arch='x86_64' machine='pc-q35-4.2'>hvm</type> | |
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> | |
<nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram> | |
<bootmenu enable='yes'/> | |
</os> | |
<features> | |
<acpi/> | |
<apic/> | |
<hyperv> | |
<relaxed state='on'/> | |
<vapic state='on'/> | |
<spinlocks state='on' retries='8191'/> | |
<vendor_id state='on' value='c133'/> | |
</hyperv> | |
<kvm> | |
<hidden state='on'/> | |
</kvm> | |
<vmport state='off'/> | |
</features> | |
<cpu mode='host-passthrough' check='none'> | |
<topology sockets='2' cores='3' threads='2'/> | |
<feature policy='require' name='topoext'/> | |
</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>destroy</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='block' device='disk'> | |
<driver name='qemu' type='raw' cache='directsync' io='threads'/> | |
<source dev='/dev/zvol/pool/win10'/> | |
<target dev='sda' bus='scsi'/> | |
<boot order='1'/> | |
<address type='drive' controller='0' bus='0' target='0' unit='0'/> | |
</disk> | |
<controller type='usb' index='0' model='qemu-xhci' ports='15'> | |
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> | |
</controller> | |
<controller type='scsi' index='0' model='virtio-scsi'> | |
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> | |
</controller> | |
<controller type='pci' index='0' model='pcie-root'/> | |
<controller type='pci' index='1' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='1' port='0x10'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> | |
</controller> | |
<controller type='pci' index='2' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='2' port='0x11'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> | |
</controller> | |
<controller type='pci' index='3' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='3' port='0x12'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> | |
</controller> | |
<controller type='pci' index='4' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='4' port='0x13'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> | |
</controller> | |
<controller type='pci' index='5' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='5' port='0x14'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> | |
</controller> | |
<controller type='pci' index='6' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='6' port='0x15'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> | |
</controller> | |
<controller type='pci' index='7' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='7' port='0x16'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/> | |
</controller> | |
<controller type='pci' index='8' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='8' port='0x17'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/> | |
</controller> | |
<controller type='pci' index='9' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='9' port='0x18'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/> | |
</controller> | |
<controller type='pci' index='10' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='10' port='0x19'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/> | |
</controller> | |
<controller type='pci' index='11' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='11' port='0x1a'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/> | |
</controller> | |
<controller type='pci' index='12' model='pcie-root-port'> | |
<model name='pcie-root-port'/> | |
<target chassis='12' port='0x1b'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/> | |
</controller> | |
<controller type='virtio-serial' index='0'> | |
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> | |
</controller> | |
<controller type='sata' index='0'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> | |
</controller> | |
<interface type='bridge'> | |
<mac address='52:54:00:0a:be:ba'/> | |
<source bridge='br0'/> | |
<model type='virtio'/> | |
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> | |
</interface> | |
<channel type='spicevmc'> | |
<target type='virtio' name='com.redhat.spice.0'/> | |
<address type='virtio-serial' controller='0' bus='0' port='1'/> | |
</channel> | |
<input type='mouse' bus='ps2'/> | |
<input type='keyboard' bus='ps2'/> | |
<graphics type='spice' autoport='yes'> | |
<listen type='address'/> | |
<image compression='off'/> | |
</graphics> | |
<sound model='ich9'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> | |
</sound> | |
<video> | |
<model type='virtio' heads='1' primary='yes'> | |
<acceleration accel3d='yes'/> | |
</model> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> | |
</video> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<source> | |
<address domain='0x0000' bus='0x0c' slot='0x00' function='0x0'/> | |
</source> | |
<rom bar='on' file='/usr/share/qemu/rtx2080-default.rom'/> | |
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<source> | |
<address domain='0x0000' bus='0x0c' slot='0x00' function='0x1'/> | |
</source> | |
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<source> | |
<address domain='0x0000' bus='0x0c' slot='0x00' function='0x2'/> | |
</source> | |
<address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<source> | |
<address domain='0x0000' bus='0x0c' slot='0x00' function='0x3'/> | |
</source> | |
<address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> | |
</hostdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<address type='usb' bus='0' port='2'/> | |
</redirdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<address type='usb' bus='0' port='3'/> | |
</redirdev> | |
<redirdev bus='usb' type='spicevmc'> | |
<address type='usb' bus='0' port='1'/> | |
</redirdev> | |
<memballoon model='virtio'> | |
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> | |
</memballoon> | |
</devices> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment