[vfio-users] Troubleshooting UPT Mode

Ed Smith edjamessmith3 at gmail.com
Fri Oct 27 18:59:52 UTC 2017


Hello,



I was able to make some progress on getting UPT mode to work but I think I
might have hit a wall.  I switched from Seabios to OVMF and now my Windows
10 guest boots up and is viewable through VNC.  The Windows Display
Settings show the second monitor and the Windows System Settings also show
multiple displays: the first being a Microsoft Basic Display Adapter and
the second being Intel HD Graphics 630. However, the Intel Graphics Control
Panel software only sees one display (“Virtual Display”) and my external
monitor is blank.



I am seeing some DMAR errors in the log files which might be related?

DMAR: DRHD: handling fault status reg 3

DMAR: [DMA Read] Request device [00:02.0] fault addr 80000000 [fault reason
06] PTE Read access is not set

DMAR: [DMA Read] Request device [00:02.0] fault addr 8003e000 [fault reason
12] non-zero reserved fields in PTE



So I tried adding "iommu=pt" to my grub command line, but that did not fix
the DMAR errors and the monitor is still blank.



Does anyone have any suggestions for troubleshooting next steps?  Has
anyone been able to get IGD to work using UPT mode or am I just wasting my
time?



Thanks again,

Ed







*From: *<vfio-users-bounces at redhat.com> on behalf of <
edjamessmith3 at gmail.com>
*Date: *Friday, October 20, 2017 at 10:05 AM
*To: *"vfio-users at redhat.com" <vfio-users at redhat.com>
*Subject: *[vfio-users] Troubleshooting UPT Mode



Hello,



I was wondering if anyone could help me troubleshoot getting UPT mode
working for my Windows 10 guest.  I was able to get Legacy Passthrough mode
to work; however, when I try UPT mode, I receive the message "Guest has not
initialized the display (yet)." in VNC and my external monitor is blank.
My understanding is that with UPT, VNC should be my primary display and i
should be able to configure my external display as a secondary which will
mirror my primary. However, since my primary is not initializing, I am
stuck.



I am running a proxmox 5 server with the following configuration:

kernel: 4.10.17-2-pve

Qemu: pve-qemu-kvm_2.9.1-1

Seabios

CPU: i3-7100 Kaby Lake

KVM/QEMU command:

/usr/bin/kvm -id 102 -chardev
'socket,id=qmp,path=/var/run/qemu-server/102.qmp,server,nowait' -mon
'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/102.pid -daemonize
-smbios 'type=1,uuid=4940768b-9482-4f78-a7bc-af7bb7bc6e7d' -name Windows10
-smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot
'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg'
-vga std -vnc unix:/var/run/qemu-server/102.vnc,x509,password -no-hpet -cpu
'kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,enforce'
-m 2048 -k en-us *-device
'vfio-pci,host=00:02.0,addr=0x18,x-vga=on,x-igd-opregion=on'* -device
'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device
'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device
'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -readconfig
/usr/share/qemu-server/pve-usb.cfg -device
'usb-tablet,id=tablet,bus=uhci.0,port=1' -device
'usb-host,vendorid=0x046d,productid=0xc016,id=usb0' -device
'usb-host,vendorid=0x413c,productid=0x2006,id=usb1' -device
'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi
'initiator-name=iqn.1993-08.org.debian:01:63c0b974b722' -drive
'file=/var/lib/vz/images/102/vm-102-disk-1.raw,if=none,id=drive-ide0,format=raw,cache=none,aio=native,detect-zeroes=on'
-device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100'
-drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device
'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -netdev
'type=tap,id=net0,ifname=tap102i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown'
-device
'e1000,mac=02:66:F7:7C:78:68,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'
-rtc 'driftfix=slew,base=localtime' -global
'kvm-pit.lost_tick_policy=discard'

I didn't see any obvious errors in my log files.

I'd be happy to post the working Legacy configuration if that would help.

Thanks in advance,

Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20171027/a05de29a/attachment.htm>


More information about the vfio-users mailing list