I just got an update to Qemu6 on my Gentoo box. After that I saw that
the Windows 10 guest stopped using MSI.
Is there anything else I should know other than the following guide?
http://vfio.blogspot.com/2014/09/vfio-interrupts-and-how-to-coax-windows.html

If I revert to Qemu 5.2.0 the MSI starts being used again by Windows
10 for the nVidia card. Without MSI I had pretty bad performance in
several windows games like 'Detroit: Becoming Human', so it is a
blocker to me.

I've got:
Linux 5.4.119-gentoo-x86_64.
NVIDIA 2080 ti
ROG STRIX Z390-F GAMING
i9 9900KS

--
Thanks,
Ivan
/usr/bin/qemu-system-x86_64 -overcommit mem-lock=on -mem-path 
/dev/hugepages/qemu-mem -device virtio-balloon -m 16384 -cpu 
host,kvm=off,hv-vendor-id=servo,hv-vpindex,hv-reset,vme=on,ss=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc_adjust=on,umip=on,xsaveopt=on,pdpe1gb=on,abm=on,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff
 -smp 10,sockets=1,cores=5,threads=2 -monitor 
telnet:127.0.0.1:1235,server,nowait -machine 
pc-q35-4.0.1,accel=kvm,usb=off,vmport=off,dump-guest-core=off -enable-kvm 
-nodefaults -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot 
strict=on -device 
pcie-root-port,port=1,slot=0,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1c.0
 -device pcie-root-port,port=2,slot=1,chassis=2,id=pci.2,bus=pcie.0,addr=0x1c.1 
-device pcie-root-port,port=3,slot=2,chassis=3,id=pci.3,bus=pcie.0,addr=0x1c.2 
-device qemu-xhci,p2=15,p3=15,id=usb,bus=pcie.0,addr=0x14 -drive 
if=pflash,format=raw,readonly=on,file=/ssd/win10b/OVMF_CODE.fd,format=raw 
-drive if=pflash,format=raw,file=/ssd/win10b/OVMF_VARS.fd,format=raw -device 
usb-kbd,bus=usb.0,port=1 -device usb-mouse,bus=usb.0,port=2 -device 
usb-host,vendorid=0x0461,productid=0x4d15,bus=usb.0 -device 
usb-host,vendorid=0x29ea,productid=0x0102,bus=usb.0 -device 
usb-host,vendorid=0x2341,productid=0x8037,bus=usb.0 -device 
usb-host,vendorid=0x1eaf,productid=0x0004,bus=usb.0 -device 
vfio-pci,host=01:00.0,multifunction=on,bus=pci.1,addr=0.0 -device 
vfio-pci,host=01:00.1,bus=pci.1,addr=0.1 -device 
vfio-pci,host=01:00.2,bus=pci.1,addr=0.2 -device 
vfio-pci,host=01:00.3,bus=pci.1,addr=0.3 -nographic -vga none -device 
virtio-scsi-pci,id=vv,disable-modern=off,disable-legacy=on,bus=pci.2,addr=0 
-drive 
file=/ssd/win10b/disk.raw,format=raw,id=disk,if=none,cache=none,aio=threads,discard=unmap
 -device 
scsi-hd,drive=disk,bootindex=2,logical_block_size=512,physical_block_size=4096 
-drive 
file=/games/drive_d/games.raw,format=raw,id=games_disk,if=none,cache=none,aio=threads,discard=unmap
 -device scsi-hd,drive=games_disk -drive 
file=/ssd/games_300/games_300.raw,format=raw,id=games_raw_ssd_disk,if=none,cache=none,aio=threads,discard=unmap
 -device scsi-hd,drive=games_raw_ssd_disk -device 
virtio-net-pci,netdev=eth0,mac=DE:AD:BE:EF:CE:B9,bus=pci.3,disable-modern=off,disable-legacy=on
 -netdev bridge,br=brkvm,id=eth0 -device usb-audio,audiodev=myaudio -audiodev 
id=myaudio,driver=pa,out.fixed-settings=on,out.frequency=44100,out.channels=2,timer-period=3000
 -no-hpet -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard

_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://listman.redhat.com/mailman/listinfo/vfio-users

Reply via email to