From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Singapore Citizen Mr. Teo En Ming (Zhang Enming)" Subject: Re: Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domU Date: Wed, 24 Jul 2013 19:33:21 +0800 Message-ID: <51EFBB81.8010608@gmail.com> References: <51EA5E74.9070900@gmail.com> <51EA61ED.1090900@gmail.com> <1B4B44D9196EFF41AE41FDA404FC0A1001B4FFD9@SHSMSX102.ccr.corp.intel.com> <20130723120316.GU2924@reaktio.net> <51EF9897.8060201@gmail.com> <1B4B44D9196EFF41AE41FDA404FC0A1001B5327D@SHSMSX102.ccr.corp.intel.com> Reply-To: singapore.mr.teo.en.ming@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1B4B44D9196EFF41AE41FDA404FC0A1001B5327D@SHSMSX102.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Ren, Yongjie" Cc: Ian Campbell , "Teo En Ming (Zhang Enming)" , "Zhang, Xiantao" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 24/07/2013 18:33, Ren, Yongjie wrote: >> -----Original Message----- >> From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) >> [mailto:singapore.mr.teo.en.ming@gmail.com] >> Sent: Wednesday, July 24, 2013 5:04 PM >> To: Pasi K=E4rkk=E4inen >> Cc: Ren, Yongjie; xen-users@lists.xen.org; Zhang, Xiantao; >> xen-devel@lists.xen.org; Teo En Ming (Zhang Enming) >> Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to >> Windows 7 Ultimate HVM domU >> >> On 23/07/2013 20:03, Pasi K=E4rkk=E4inen wrote: >>> On Mon, Jul 22, 2013 at 02:57:08PM +0000, Ren, Yongjie wrote: >>>>> Any Intel engineers here who can advise? >>>>> >>>> I'm also doing some testing but seems we didn't meet a similar issue >> with yours. >>>> Which CPU are you using? >>>> My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD as >> yours. >>>> And, I'll have some update after I doing more testing. >>>> >>>> Best Regards, >>>> Yongjie (Jay) >>>> >>> Hello Yongjie, >>> >>> Can you please describe the following info about your GPU passthru >> setup: >>> - Xen hypervisor version/changeset >>> - Any patches to Xen? >>> - Cmdline options to Xen >>> - dom0 linux kernel version >>> - Cmdline options to dom0 linux kernel >>> - HVM guest OS/version >>> - IGD driver version in the HVM guest >>> - dom0 configuration and settings; I assume you're using xen-pciback? >> Did you blacklist igd driver in dom0 kernel? etc. >>> I think that'd be helpful for others to get a similar baseline configur= ation. >>> >>> Thanks, >>> >>> -- Pasi >>> >>> >> Dear Yongjie, >> >> Could you share with us your hardware and software configuration >> settings? >> > Sure. My IGD is also Intel HD Graphics 4600. :-) > > 1. hypervisor version: c/s 26666 in xen-unstable.hg tree (5 months ago) > traditional qemu commit: 5ae58eaa967495fce99b727422054c58750d252b > Dom0 kernel: Linux 3.8.1 > N.B. I didn't use the latest traditional qemu because of the following bu= g: > http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=3D1865 > > 2. no offline patch. (just use the code in the tree I mentioned above.) > > 3. hypervisor options: dom0_mem=3D1024M iommu=3D1 loglvl=3Dall guest_logl= vl=3Dall unrestricted_guest=3D1 msi=3D1 > dom0 kernel options: ro root=3D/dev/sda1 > > 4. HVM guest: Windows 7 Enterprise > > 5. IGD driver version in HVM: 9.18.10.3165 > got to: https://downloadcenter.intel.com/ > then, search "4th Generation Intel Core Processors with intel hd graph= ics 4600" to download the driver. > > 6. use 'xl pci-assignable-add $BDF' to add the IGD as assignable. > (it also use 'xen.pciback' driver.) > > 7. dom0 kernel config is attached as file 'config-3.8.1'. > > 8. HVM guest config file: > builder=3D "hvm" > name=3D "vga-passthrough" > memory =3D1024 > vcpus=3D4 > device_model_override=3D '/usr/lib/xen/bin/qemu-dm' > device_model_version=3D 'qemu-xen-traditional' > disk =3D [ '/images/ia32e_win7.qcow,qcow2,xvda,rw' ] > vnc=3D1 > serial=3D'pty' > usb =3D 1 > usbdevice =3D 'tablet' > gfx_passthru=3D1 > pci =3D ['00:02.0','00:1d.0','07:00.0'] #'00:02.0' is IGD; the other two= are mouse and keyboard. > > 9. I can successfully assign this IGD 4600 (in Core i5-4670 CPU) to the W= indows guest. And the IGD can work fine. > See some attached pictures for more info. > > > Best Regards, > Yongjie (Jay) Hi, I was trying to compile Xen 4.3-unstable changeset 26666 when I = encountered the following error. /usr/bin/ld: vl.o: undefined reference to symbol = 'timer_settime@@GLIBC_2.3.3' /usr/bin/ld: note: 'timer_settime@@GLIBC_2.3.3' is defined in DSO = /lib/x86_64-linux-gnu/librt.so.1 so try adding it to the linker command line /lib/x86_64-linux-gnu/librt.so.1: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[5]: *** [qemu-dm] Error 1 make[5]: Leaving directory = `/home/teo-en-ming/xen-unstable.hg-cs26666/tools/qemu-xen-traditional-dir-r= emote/i386-dm' make[4]: *** [subdir-i386-dm] Error 2 make[4]: Leaving directory = `/home/teo-en-ming/xen-unstable.hg-cs26666/tools/qemu-xen-traditional-dir-r= emote' make[3]: *** [subdir-install-qemu-xen-traditional-dir] Error 2 make[3]: Leaving directory `/home/teo-en-ming/xen-unstable.hg-cs26666/tools' make[2]: *** [subdirs-install] Error 2 make[2]: Leaving directory `/home/teo-en-ming/xen-unstable.hg-cs26666/tools' make[1]: *** [install-tools] Error 2 make[1]: Leaving directory `/home/teo-en-ming/xen-unstable.hg-cs26666' make: *** [world] Error 2 Related information: http://www.gossamer-threads.com/lists/xen/devel/283347 How can I fix this issue? Thank you very much. -- = Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)