<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 20, 2016 at 10:44 AM, YounJae Rho <span dir="ltr"><<a href="mailto:luxflow@live.com" target="_blank">luxflow@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
I applied alex's IGD(Intel graphic display) passthrough patch recently.<br>
First of all, thanks alex for your hard works!<br></blockquote><div><br></div><div>Welcome :)  But you should really be using qemu.git + seabios.git, and eventually just qemu.git once pc-bios is updated.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It seems to work perfectly in Ubuntu 16.04 but problem is windows 10.<br>
On windows 10, all mode except safe booting doesn't boot and keep rebooting<br>
Law graphic mode also keep rebooting.<br>
First question is<br>
Is there anyone that have succeed in booting windows 10?<br></blockquote><div><br></div><div>Yep, me. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Second question is<br>
What is the difference between Gerd<br>
patch(<a href="https://www.redhat.com/archives/vfio-users/2016-January/msg00035.html" rel="noreferrer" target="_blank">https://www.redhat.com/archives/vfio-users/2016-January/msg00035.html</a>)<br>
and alex patch?<br>
Currently I applied only alex's IGD patch but do I have to applied Gerd<br>
patch also?<br></blockquote><div><br></div><div>As above, use upstream.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Third question is<br>
Is there no way to test UPT mode in haswell based processor?<br></blockquote><div><br></div><div>Nope, according to Intel UPT needs Broadwell or newer.  You can try, but it depends on the guest drivers, which I have no control over.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I tested UPT mode on both windows and linux, but both said `no vga output`<br></blockquote><div><br></div><div>Minimally you'll need to use the x-igd-opregion=on to get display output in UPT mode, but remember UPT is meant to be secondary graphics in the VM only.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I know documentation says UPT mode only is supported in Broadwell and later<br>
process<br>
But when I boot from live cd of Igvt-g<br>
proje)ct(<a href="https://01.org/igvt-g/blogs/czhou/2016/intel-gvt-g-iso-public-releas
e-q12016" rel="noreferrer" target="_blank">https://01.org/igvt-g/blogs/czhou/2016/intel-gvt-g-iso-public-releas</a></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://01.org/igvt-g/blogs/czhou/2016/intel-gvt-g-iso-public-releas
e-q12016" rel="noreferrer" target="_blank">
e-q12016</a>, it works.<br>
I don't know exactly but as I know Igvt-g and UPT uses same mechanism isn't<br>
it?<br></blockquote><div><br></div><div>No.  GVT-g is a mediated virtualization for IGD that allows multiple VMs to make use of a single IGD through hypervisor level virtualization.  We're working with Intel and others on this as well, but it is not the same thing as UPT.  UPT is simply GVT-d (ie. direct assignment... I can never remember which is which in Intel lingo), where IGD doesn't have all the system requirements that it usually does.  IOW, it's what assignment of IGD should have always been if the chipset designers hadn't freely spread IGD components thoughout the chipset.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Forgive me if I ask silly question or my bad English skill annoy you<br>
Thanks in advance.<br>
<br>
My test environment is<br>
Kernel : linux 4.6.0 (almost vanilla kernel, but some code are patched for<br>
Ubuntu)<br>
QEMU : QEMU emulator version 2.6.50 (v2.6.0-1190-g482b618-dirty)<br>
Seabios : up to commit `splash: Skip the RGB555 mode`<br>
CPU : Intel E3-1265L V3 (haswell based E3 xeon)<br>
QEMU parameter :<br>
#legacy mode<br>
qemu-system-x86_64 -cpu host -m 4096  -realtime mlock=on -smp<br>
4,sockets=1,cores=2,threads=2 \<br>
-machine pc,accel=kvm,usb=off,mem-merge=off \<br>
-nographic -no-user-config -nodefaults \<br>
-device vfio-pci,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2 \<br>
-hda /mnt/VMs/windows.qcow2 \<br>
-net nic,model=virtio,addr=0x04 -net user \<br>
-device vfio-pci,host=00:14.0,id=hostdev1,bus=pci.0,addr=0x14 \<br>
-device ich9-usb-uhci3,id=uhci \<br>
-device usb-ehci,id=ehci \<br>
-device nec-usb-xhci,id=xhci \<br></blockquote><div><br></div><div>Make sure you're not getting a default emulated VGA device, -vga none should do that if -nodefaults doesn't already.</div></div></div></div>