Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###############################################################################
- # System Info
- ###############################################################################
- Motherboard: AMD X570 Prime Pro
- Board Firmware Revision: Beta v3801 2021.05.25 (updated from v3603 2021.03.22, no change)
- AGESA version: V2 PI 1.2.0.2
- CPU: AMD Ryzen 9 5950X
- RAM: 64GB G.SKILL Trident-Z 3600 (DOCP Enabled), 32GB configured as static 1GB hugepages
- Storage: using 'fallocate'-created raw images (for ease of backup)
- Host OS: void linux, kernel 5.11.22_1
- Guest OS: Windows 10 LTSC (Did a fresh install in case that was the issue, no change)
- NVidia Driver: Latest (v466.47 / 2021.5.18)
- Passthrough GPU: MSI NVidia GeForce 1080Ti Aero OC 11GB
- Host GPU: ASUS AMD DUAL-RX580-8G
- ###############################################################################
- # /proc/cmdline
- ###############################################################################
- BOOT_IMAGE=/boot/vmlinuz-5.11.22_1 root=UUID=9b8cc553-5477-4200-8965-583c240c4bfa ro loglevel=3 acpi_enforce_resources=lax amd_iommu=on iommu=pt kvm_amd.npt=1 default_hugepagesz=1G hugepages=32 transparent_hugepage=never rd.driver.pre=vfio-pci vfio-pci.ids=10de:10b6,10de:10ef
- ###############################################################################
- # /etc/modprobe.d/kvm.conf
- ###############################################################################
- options kvm ignore_msrs=1
- options kvm report_ignored_msrs=0
- ###############################################################################
- # /etc/dracut.conf.d/vfio.conf
- ###############################################################################
- hostonly="yes"
- force_drivers+=" vfio vfio_iommu_type1 vfio_pci vfio_virqfd "
- ###############################################################################
- # /etc/modprobe.d/vfio.conf
- ###############################################################################
- blacklist nouveau
- ###############################################################################
- # /etc/libvirt/qemu/gallium.xml
- ###############################################################################
- <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
- <name>gallium</name>
- <uuid>931125b8-0cd0-4cb9-9a2d-bb1ca266efc3</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>
- <memoryBacking>
- <hugepages/>
- </memoryBacking>
- <vcpu placement="static">16</vcpu>
- <iothreads>1</iothreads>
- <cputune>
- <vcpupin vcpu="0" cpuset="8"/>
- <vcpupin vcpu="1" cpuset="24"/>
- <vcpupin vcpu="2" cpuset="9"/>
- <vcpupin vcpu="3" cpuset="25"/>
- <vcpupin vcpu="4" cpuset="10"/>
- <vcpupin vcpu="5" cpuset="26"/>
- <vcpupin vcpu="6" cpuset="11"/>
- <vcpupin vcpu="7" cpuset="27"/>
- <vcpupin vcpu="8" cpuset="12"/>
- <vcpupin vcpu="9" cpuset="28"/>
- <vcpupin vcpu="10" cpuset="13"/>
- <vcpupin vcpu="11" cpuset="29"/>
- <vcpupin vcpu="12" cpuset="14"/>
- <vcpupin vcpu="13" cpuset="30"/>
- <vcpupin vcpu="14" cpuset="15"/>
- <vcpupin vcpu="15" cpuset="31"/>
- <emulatorpin cpuset="0-7,16-23"/>
- <iothreadpin iothread="1" cpuset="0-7,16-23"/>
- </cputune>
- <os>
- <type arch="x86_64" machine="pc-q35-6.0">hvm</type>
- <loader readonly="yes" type="pflash">/usr/share/qemu/edk2-x86_64-code.fd</loader>
- <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
- <boot dev="hd"/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <hyperv>
- <relaxed state="on"/>
- <vapic state="on"/>
- <spinlocks state="on" retries="8191"/>
- <vpindex state="on"/>
- <synic state="on"/>
- <reset state="on"/>
- <vendor_id state="on" value="1234567890ab"/>
- <frequencies state="on"/>
- </hyperv>
- <kvm>
- <hidden state="on"/>
- </kvm>
- <vmport state="off"/>
- <ioapic driver="kvm"/>
- </features>
- <cpu mode="host-passthrough" check="none" migratable="on">
- <topology sockets="1" dies="1" cores="8" threads="2"/>
- <cache mode="passthrough"/>
- <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"/>
- <timer name="tsc" present="yes" mode="native"/>
- </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="file" device="cdrom">
- <driver name="qemu" type="raw"/>
- <target dev="sdb" bus="sata"/>
- <readonly/>
- <address type="drive" controller="0" bus="0" target="0" unit="1"/>
- </disk>
- <disk type="file" device="disk">
- <driver name="qemu" type="raw"/>
- <source file="/var/lib/libvirt/images/gallium-win10-c.raw"/>
- <target dev="vda" bus="virtio"/>
- <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
- </disk>
- <disk type="file" device="disk">
- <driver name="qemu" type="raw"/>
- <source file="/var/lib/libvirt/images/gallium-games-d.raw"/>
- <target dev="vdb" bus="virtio"/>
- <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
- </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="sata" index="0">
- <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
- </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="virtio-serial" index="0">
- <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
- </controller>
- <interface type="bridge">
- <mac address="52:54:00:96:ba:d6"/>
- <source bridge="br20Home"/>
- <model type="virtio-net-pci"/>
- <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
- </interface>
- <channel type="unix">
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- <address type="virtio-serial" controller="0" bus="0" port="2"/>
- </channel>
- <input type="mouse" bus="virtio">
- <address type="pci" domain="0x0000" bus="0x00" slot="0x0e" function="0x0"/>
- </input>
- <input type="keyboard" bus="virtio">
- <address type="pci" domain="0x0000" bus="0x00" slot="0x0f" function="0x0"/>
- </input>
- <input type="mouse" bus="ps2"/>
- <input type="keyboard" bus="ps2"/>
- <audio id="1" type="spice"/>
- <video>
- <model type="none"/>
- </video>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <source>
- <address domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/>
- </source>
- <rom bar="on"/>
- <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
- </hostdev>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <source>
- <address domain="0x0000" bus="0x0b" slot="0x00" function="0x1"/>
- </source>
- <rom bar="off"/>
- <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
- </hostdev>
- <memballoon model="none"/>
- </devices>
- <qemu:commandline>
- <qemu:arg value="-object"/>
- <qemu:arg value="input-linux,id=mouse1,evdev=/dev/input/by-id/usb-SteelSeries_SteelSeries_Rival_310_eSports_Mouse_000000000000-if01-event-mouse"/>
- <qemu:arg value="-object"/>
- <qemu:arg value="input-linux,id=kbd1,evdev=/dev/input/by-id/usb-Unicomp_Inc_Unicomp_R7_2_10x_Kbrd_v7_48-event-kbd,grab_all=on,repeat=on"/>
- </qemu:commandline>
- </domain>
- ###############################################################################
- # /var/log/libvirt/qemu/gallium.log; (last run only)
- ###############################################################################
- 2021-05-27 15:41:00.550+0000: starting up libvirt version: 7.3.0, qemu version: 6.0.0, kernel: 5.11.22_1, hostname: behemoth
- LC_ALL=C \
- PATH=/usr/bin:/usr/sbin \
- HOME=/var/lib/libvirt/qemu/domain-1-gallium \
- XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-gallium/.local/share \
- XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-gallium/.cache \
- XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-gallium/.config \
- /usr/bin/qemu-system-x86_64 \
- -name guest=gallium,debug-threads=on \
- -S \
- -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-gallium/master-key.aes"}' \
- -blockdev '{"driver":"file","filename":"/usr/share/qemu/edk2-x86_64-code.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
- -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
- -blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win10_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
- -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
- -machine pc-q35-6.0,accel=kvm,usb=off,vmport=off,dump-guest-core=off,kernel_irqchip=on,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=pc.ram \
- -cpu host,migratable=on,topoext=on,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff,hv-vpindex,hv-synic,hv-reset,hv-vendor-id=1234567890ab,hv-frequencies,kvm=off,host-cache-info=on,l3-cache=off \
- -m 16384 \
- -object '{"qom-type":"memory-backend-file","id":"pc.ram","mem-path":"/mnt/hugetlbfs/libvirt/qemu/1-gallium","x-use-canonical-path-for-ramblock-id":false,"prealloc":true,"size":17179869184}' \
- -overcommit mem-lock=off \
- -smp 16,sockets=1,dies=1,cores=8,threads=2 \
- -object '{"qom-type":"iothread","id":"iothread1"}' \
- -uuid 931125b8-0cd0-4cb9-9a2d-bb1ca266efc3 \
- -display none \
- -no-user-config \
- -nodefaults \
- -chardev socket,id=charmonitor,fd=30,server=on,wait=off \
- -mon chardev=charmonitor,id=monitor,mode=control \
- -rtc base=localtime,driftfix=slew \
- -no-shutdown \
- -global ICH9-LPC.disable_s3=1 \
- -global ICH9-LPC.disable_s4=1 \
- -boot strict=on \
- -device pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 \
- -device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 \
- -device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 \
- -device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \
- -device pcie-root-port,port=0x14,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 \
- -device pcie-root-port,port=0x15,chassis=6,id=pci.6,bus=pcie.0,addr=0x2.0x5 \
- -device pcie-root-port,port=0x16,chassis=7,id=pci.7,bus=pcie.0,addr=0x2.0x6 \
- -device pcie-root-port,port=0x17,chassis=8,id=pci.8,bus=pcie.0,addr=0x2.0x7 \
- -device pcie-root-port,port=0x18,chassis=9,id=pci.9,bus=pcie.0,multifunction=on,addr=0x3 \
- -device pcie-root-port,port=0x19,chassis=10,id=pci.10,bus=pcie.0,addr=0x3.0x1 \
- -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 \
- -device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 \
- -device ide-cd,bus=ide.1,id=sata0-0-1 \
- -blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/gallium-win10-c.raw","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
- -blockdev '{"node-name":"libvirt-2-format","read-only":false,"driver":"raw","file":"libvirt-2-storage"}' \
- -device virtio-blk-pci,bus=pci.4,addr=0x0,drive=libvirt-2-format,id=virtio-disk0,bootindex=1 \
- -blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/gallium-games-d.raw","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
- -blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw","file":"libvirt-1-storage"}' \
- -device virtio-blk-pci,bus=pci.5,addr=0x0,drive=libvirt-1-format,id=virtio-disk1 \
- -netdev tap,fd=32,id=hostnet0 \
- -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:96:ba:d6,bus=pci.1,addr=0x0 \
- -chardev socket,id=charchannel0,fd=33,server=on,wait=off \
- -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
- -device virtio-mouse-pci,id=input0,bus=pcie.0,addr=0xe \
- -device virtio-keyboard-pci,id=input1,bus=pcie.0,addr=0xf \
- -audiodev id=audio1,driver=spice \
- -device vfio-pci,host=0000:0b:00.0,id=hostdev0,bus=pci.7,addr=0x0 \
- -device vfio-pci,host=0000:0b:00.1,id=hostdev1,bus=pci.8,addr=0x0,rombar=1 \
- -object input-linux,id=mouse1,evdev=/dev/input/by-id/usb-SteelSeries_SteelSeries_Rival_310_eSports_Mouse_000000000000-if01-event-mouse \
- -object input-linux,id=kbd1,evdev=/dev/input/by-id/usb-Unicomp_Inc_Unicomp_R7_2_10x_Kbrd_v7_48-event-kbd,grab_all=on,repeat=on \
- -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
- -msg timestamp=on
- audio: Could not init `spice' audio driver
- audio: warning: Using timer based audio emulation
- 2021-05-27T15:43:07.123304Z qemu-system-x86_64: terminating on signal 15 from pid 1153 (libvirtd)
- 2021-05-27 15:43:08.537+0000: shutting down, reason=destroyed
- ###############################################################################
- # /etc/libvirt/qemu.conf
- ###############################################################################
- hugetlbfs_mount="/mnt/hugetlbfs"
- user="jadyn"
- group="kvm"
- dynamic_ownership=1
- nographics_allow_host_audio=1
- security_driver="none"
- cgroup_controllers = [ "cpu", "memory", "blkio", "cpuset", "cpuacct" ]
- cgroup_device_acl = [
- "/dev/null", "/dev/full", "/dev/zero",
- "/dev/random", "/dev/urandom",
- "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
- "/dev/rtc","/dev/hpet", "/dev/hugepages",
- "/vmdata/etc", "/vmdata/var"
- ]
- ###############################################################################
- # dmesg kernel log (including time of crash)
- ###############################################################################
- <-- vm powered on -->
- [ 50.333857] vfio-pci 0000:0b:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
- [ 50.351464] br20Home: port 2(vnet0) entered blocking state
- [ 50.351467] br20Home: port 2(vnet0) entered disabled state
- [ 50.351504] device vnet0 entered promiscuous mode
- [ 50.351591] br20Home: port 2(vnet0) entered blocking state
- [ 50.351593] br20Home: port 2(vnet0) entered forwarding state
- [ 51.539774] vfio-pci 0000:0b:00.0: vfio_ecap_init: hiding ecap 0x19@0x900
- [ 51.552443] vfio-pci 0000:0b:00.1: enabling device (0000 -> 0002)
- <-- game started at about 90s -->
- <-- game crashed at about 144s -->
- [ 176.998932] br20Home: port 2(vnet0) entered disabled state
- [ 176.999120] device vnet0 left promiscuous mode
- [ 176.999123] br20Home: port 2(vnet0) entered disabled state
- <-- vm completes shutdown -->
- [ 177.116031] vfio-pci 0000:0b:00.1: can't change power state from D0 to D3hot (config space inaccessible)
- [ 178.192298] vfio-pci 0000:0b:00.1: can't change power state from D0 to D3hot (config space inaccessible)
- [ 178.192302] vfio-pci 0000:0b:00.0: can't change power state from D0 to D3hot (config space inaccessible)
- [ 178.342652] vfio-pci 0000:0b:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
- ###############################################################################
- # lspci -v output for nvidia card after crash
- ###############################################################################
- 0b:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev ff) (prog-if ff)
- !!! Unknown header type 7f
- 0b:00.1 Audio device: NVIDIA Corporation GP102 HDMI Audio Controller (rev ff) (prog-if ff)
- !!! Unknown header type 7f
- Kernel driver in use: vfio-pci
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement