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

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



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@xxxxxxxxx]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; xen-users@xxxxxxxxxxxxx; Zhang, Xiantao;
xen-devel@xxxxxxxxxxxxx; 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ärkkäinen 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 configuration.

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 bug:
http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865

2. no offline patch. (just use the code in the tree I mentioned above.)

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

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

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.


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-remote/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-remote'
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)


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


 


Rackspace

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