[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domU



> -----Original Message-----
> From: Pasi Kärkkäinen [mailto:pasik@xxxxxx]
> Sent: Wednesday, July 24, 2013 7:57 PM
> To: Ren, Yongjie
> Cc: singapore.mr.teo.en.ming@xxxxxxxxx; xen-users@xxxxxxxxxxxxx;
> Zhang, Xiantao; xen-devel@xxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to
> Windows 7 Ultimate HVM domU
> 
> 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?
> 
It's a general device assignment issue.
Any PCI device can't be assigned to a HVM guest with the latest 
qemu-traditional.

> 
> > 2. no offline patch. (just use the code in the tree I mentioned above.)
> >
> 
> Ok, so this is a pre-4.3 version.
> 
Yes.

> 
> > 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?
> 
64bit Win7.  Not SP1.  but I think SP1 is also fine.

> 
> > 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 ?
> 
No additional VGA. It has only Intel IGD on that system.
For Dom0, it doesn't use graphics adapter and I control it via network when 
assigning IGD to a HVM.

> 
> > 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


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.