From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domU Date: Wed, 24 Jul 2013 14:57:02 +0300 Message-ID: <20130724115702.GX2924@reaktio.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline 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: "xen-users@lists.xen.org" , "singapore.mr.teo.en.ming@gmail.com" , "Zhang, Xiantao" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, Jul 24, 2013 at 10:33:38AM +0000, Ren, Yongjie wrote: > > > > 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 bug: > http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865 > Hmm.. isn't that bug affecting qemu-traditional in general, not PCI/GPU passthru specifically? Or is it *only* PCI/GPU passthru that it breaks for you? > 2. no offline patch. (just use the code in the tree I mentioned above.) > Ok, so this is a pre-4.3 version. > 3. hypervisor options: dom0_mem=1024M iommu=1 loglvl=all guest_loglvl=all unrestricted_guest=1 msi=1 > dom0 kernel options: ro root=/dev/sda1 > > 4. HVM guest: Windows 7 Enterprise > 32bit or 64bit Win7? SP1 I assume? > 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 graphics 4600" to download the driver. > > 6. use 'xl pci-assignable-add $BDF' to add the IGD as assignable. > (it also use 'xen.pciback' driver.) > Is IGD the primary graphics adapter on the machine, so does BIOS initialize the IGD when you power-on the machine? Or do you have some other graphics adapter that you use in dom0 ? > 7. dom0 kernel config is attached as file 'config-3.8.1'. > > 8. HVM guest config file: > builder= "hvm" > name= "vga-passthrough" > memory =1024 > vcpus=4 > device_model_override= '/usr/lib/xen/bin/qemu-dm' > device_model_version= 'qemu-xen-traditional' > disk = [ '/images/ia32e_win7.qcow,qcow2,xvda,rw' ] > vnc=1 > serial='pty' > usb = 1 > usbdevice = 'tablet' > gfx_passthru=1 > pci = ['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 Windows guest. And the IGD can work fine. > See some attached pictures for more info. > Thanks a lot! -- Pasi