Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domU
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
However, there are only 16 colors on the monitor. Please refer to the following screenshots.
http://i.imgur.com/AVVPQFs.jpg
http://i.imgur.com/390ORY0.jpg
http://i.imgur.com/ihc0bR0.jpg
http://i.imgur.com/FlNhjum.jpg
http://i.imgur.com/sMrBKCq.jpg
Please advise.
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
# XL domain configuration file for Windows 7 Ultimate HVM domU # Please refer to "man xl.cfg" for further explanations. # See also docs/misc/xl-network-configuration.markdown and
# docs/misc/xl-disk-configuration.txt # Written by Teo En Ming (Zhang Enming) # Email: [email protected] # Mobile Phone: +65-9117-5902 # Country: Singapore # Date: 18 July 2013 Sun device_model_version="qemu-xen-traditional" name="Windows7" builder="hvm" vcpus=4 memory=2048 on_poweroff="destroy" on_reboot="restart" on_crash="destroy" disk=[ 'format=raw, vdev=hda, access=rw, target=/etc/xen/images/windows7.img', 'format=raw, vdev=hdc, access=ro, devtype=cdrom, target=/home/teo-en-ming/windows7ultimate.iso' ] vif=[ 'bridge=virbr0,type=ioemu,model=e1000' ] #boot=[c|d|n] #Selects the emulated virtual device to boot from. Options are hard disk (c), cd-rom (d) or network/PXE (n). #Multiple options can be given and will be attempted in the order they are given. e.g. to boot from cd-rom #but fallback to the hard disk you can give dc. The default is cd. boot="dc" acpi=1 xen_platform_pci=1 viridian=1 stdvga=1 vnc=1 vnclisten="0.0.0.0" vncdisplay=0 vncunused=1 vncpasswd="" sdl=0 usb=1 usbdevice="tablet" # Enable Xen VGA Passthrough gfx_passthru=1 # VGA Passthrough Gigabyte Geforce GTX 560 1 GB GDDR5 PCI Express x16 VGA card. #pci = [ '01:00.0','01:00.1','00:1b.0','00:1a.0','00:1a.1','00:1a.2','00:1a.7','00:1d.0','00:1d.1','00:1d.2','00:1d.7' ] # PCI Passthrough Intel HD Audio Controller. #pci = [ '00:1b.0' ] # PCI Passthrough all the USB Controllers. # pci = [ '00:1a.0','00:1a.1','00:1a.2','00:1a.7','00:1d.0','00:1d.1','00:1d.2','00:1d.7' ] # Passthrough Intel HD Graphics 4600, audio controllers and USB controllers pci = [ '00:02.0','00:03.0','00:14.0','00:1a.0','00:1b.0','00:1d.0' ] #pci = [ '00:02.0' ]
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 14 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
However, there are only 16 colors on the monitor. Please refer to the following screenshots.
http://i.imgur.com/AVVPQFs.jpg
Quoted 8 lines
http://i.imgur.com/FlNhjum.jpg
http://i.imgur.com/sMrBKCq.jpg
Please advise.
Thank you very much.
Any Intel engineers here who can advise?
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 32 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Saturday, July 20, 2013 6:10 PM
To: [email protected]
Cc: [email protected]; [email protected]; Ren, Yongjie; Zhang, Xiantao
Subject: Re: Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 20 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
However, there are only 16 colors on the monitor. Please refer to the following screenshots.
http://i.imgur.com/AVVPQFs.jpg
http://i.imgur.com/390ORY0.jpg
Quoted 9 lines
Quoted 6 lines
http://i.imgur.com/sMrBKCq.jpg
Please advise.
Thank you very much.
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)
Quoted 4 lines
--
Yours sincerely,Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 40 lines · Yongjie
Quoted 32 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Saturday, July 20, 2013 6:10 PM
To: [email protected]
Cc: [email protected]; [email protected]; Ren, Yongjie; Zhang, Xiantao
Subject: Re: Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 20 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
However, there are only 16 colors on the monitor. Please refer to the following screenshots.
http://i.imgur.com/AVVPQFs.jpg
http://i.imgur.com/390ORY0.jpg
Quoted 8 lines
Quoted 6 lines
http://i.imgur.com/sMrBKCq.jpg
Please advise.
Thank you very much.
Any Intel engineers here who can advise?
Quoted 12 lines
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)Quoted 4 lines
--
Yours sincerely,Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi Yongjie,
I am using Intel Core i5-4430 Quad Core 6 MB @ 3.0 GHz.
Can you share how you configure, compile and install Xen and Linux kernel?
Which version of Xen and Linux kernel are you using?
Did you apply any patches? If so, where can I find the patches?
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 11 lines · Yongjie
Quoted 3 lines
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
Quoted 24 lines · Pasi Kärkkäinen
Quoted 10 lines · Yongjie
Quoted 2 lines
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.
Quoted 7 lines
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?
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 43 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD asyours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 9 lines
- 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.
Quoted 5 lines
I think that'd be helpful for others to get a similar baseline configuration.
Thanks,
Quoted 9 lines
Quoted 3 lines
-- 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)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 88 lines · Yongjie
Quoted 41 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD asyours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 8 lines
- 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.
Quoted 4 lines
I think that'd be helpful for others to get a similar baseline configuration.
Thanks,
Quoted 8 lines
Quoted 3 lines
-- 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:
5ae58eaa967495fce99b727422054c58750d252bDom0 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=18652. 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.
Quoted 6 lines
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.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 111 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 7:33 PM
To: Ren, Yongjie
Cc: Pasi K?rkk?inen; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming); Ian Campbell
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 8 lines · Yongjie
Quoted 8 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthroughto
Quoted 10 lines
Quoted 10 lines
Windows 7 Ultimate HVM domU
Quoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGDas
Quoted 18 lines
Quoted 18 lines
yours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 8 lines
- 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?Quoted 2 lines
Quoted 2 lines
Did you blacklist igd driver in dom0 kernel? etc.
Quoted 1 line
I think that'd be helpful for others to get a similar baseline
configuration.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Thanks,
-- Pasi
Dear Yongjie,
Quoted 7 lines
Quoted 3 lines
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:
5ae58eaa967495fce99b727422054c58750d252bQuoted 7 lines
Dom0 kernel: Linux 3.8.1N.B. I didn't use the latest traditional qemu because of the following bug:
http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=18652. 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
Quoted 7 lines
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 hdgraphics 4600" to download the driver.
Quoted 6 lines
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'.
Quoted 14 lines
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 aremouse and keyboard.
Quoted 2 lines
9. I can successfully assign this IGD 4600 (in Core i5-4670 CPU) to the
Windows guest. And the IGD can work fine.
Quoted 3 lines
See some attached pictures for more info.
Quoted 8 lines
Quoted 2 lines
Best Regards,
Yongjie (Jay)Hi,
I was trying to compile Xen 4.3-unstable changeset 26666 when I encountered the following error.
Sorry, I've no idea about this since I didn't meet that issue.
Quoted 35 lines
/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.1so 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 2Related information:
http://www.gossamer-threads.com/lists/xen/devel/283347How can I fix this issue?
Thank you very much.
--
Yours sincerely,Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 117 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 89 lines · Yongjie
Quoted 41 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD asyours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 8 lines
- 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.
Quoted 4 lines
I think that'd be helpful for others to get a similar baseline configuration.
Thanks,
Quoted 8 lines
Quoted 3 lines
-- 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:
5ae58eaa967495fce99b727422054c58750d252bDom0 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=18652. 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.Quoted 6 lines
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.1so 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
Quoted 6 lines
Related information: http://www.gossamer-threads.com/lists/xen/devel/283347
How can I fix this issue?
Thank you very much.
Hi,
With reference to this thread http://www.gossamer-threads.com/lists/xen/devel/283347, I tried to workaround the above-mentioned problem. The following are steps I have taken to compile and install Xen 4.3-unstable changeset 26666.
cd
hg clone -r 26666 http://xenbits.xensource.com/xen-unstable.hg xen-unstable.hg-cs26666 cd xen-unstable.hg-cs26666
./configure
make world
cd
git clone git://xenbits.xen.org/qemu-xen-unstable.git
cd qemu-xen-unstable
cp -a * /home/teo-en-ming/xen-unstable.hg-cs26666/tools/qemu-xen-traditional-dir-remote cd ..
cd xen-unstable.hg-cs26666
*sudo -s*
./configure
make world
make install
Xen 4.3-unstable changeset 26666 compiles and installs successfully. However...
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl create /etc/xen/windows7 Parsing config from /etc/xen/windows7 failed to free memory for the domain
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl list libxl: error: libxl.c:557:libxl_list_domain: geting domain info list: Permission denied libxl_domain_infolist failed.
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl dmesg libxl: error: libxl.c:4759:libxl_xen_console_read_line: reading console ring buffer: Permission denied
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl info host : intel-core-i5-4430-desktop release : 3.11.0-rc1-xen-teo.en.ming-sgp version : #1 SMP Mon Jul 15 22:07:31 SGT 2013 machine : x86_64 libxl: error: libxl.c:3938:libxl_get_physinfo: getting physinfo: Permission denied libxl_physinfo failed. libxl: error: libxl.c:4320:libxl_get_scheduler: getting domain info list: Permission denied xen_major : 4 xen_minor : 3 xen_extra : -unstable xen_version : 4.3-unstable xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : (null) xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Thu Feb 28 09:22:41 2013 +0100 26666:94ece33caae2 xen_commandline : cc_compiler : gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 cc_compile_by : root cc_compile_domain : cc_compile_date : Thu Jul 25 13:47:58 SGT 2013 xend_config_format : 4
It appears that my Xen 4.3-unstable changeset 26666 installation is broken. How do I fix this issue? Are there any mistakes in the steps I have taken?
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 183 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 117 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 89 lines · Yongjie
Quoted 41 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD asyours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 8 lines
- 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.
Quoted 4 lines
I think that'd be helpful for others to get a similar baseline configuration.
Thanks,
Quoted 8 lines
Quoted 3 lines
-- 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:
5ae58eaa967495fce99b727422054c58750d252bDom0 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=18652. 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.Quoted 6 lines
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.1so 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 2Quoted 6 lines
Related information: http://www.gossamer-threads.com/lists/xen/devel/283347
How can I fix this issue?
Thank you very much.
Hi,
With reference to this thread http://www.gossamer-threads.com/lists/xen/devel/283347, I tried to workaround the above-mentioned problem. The following are steps I have taken to compile and install Xen 4.3-unstable changeset 26666.
cd
hg clone -r 26666 http://xenbits.xensource.com/xen-unstable.hg xen-unstable.hg-cs26666 cd xen-unstable.hg-cs26666
./configure
make world
cd
git clonegit://xenbits.xen.org/qemu-xen-unstable.git
cd qemu-xen-unstable
cp -a */home/teo-en-ming/xen-unstable.hg-cs26666/tools/qemu-xen-traditional-dir-remotecd ..
cd xen-unstable.hg-cs26666
*sudo -s*
./configure
make world
make installXen 4.3-unstable changeset 26666 compiles and installs successfully. However...
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl create /etc/xen/windows7 Parsing config from /etc/xen/windows7 failed to free memory for the domainteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl list libxl: error: libxl.c:557:libxl_list_domain: geting domain info list: Permission denied libxl_domain_infolist failed.teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl dmesg libxl: error: libxl.c:4759:libxl_xen_console_read_line: reading console ring buffer: Permission deniedteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl info host : intel-core-i5-4430-desktop release : 3.11.0-rc1-xen-teo.en.ming-sgp version : #1 SMP Mon Jul 15 22:07:31 SGT 2013 machine : x86_64 libxl: error: libxl.c:3938:libxl_get_physinfo: getting physinfo: Permission denied libxl_physinfo failed. libxl: error: libxl.c:4320:libxl_get_scheduler: getting domain info list: Permission denied xen_major : 4 xen_minor : 3 xen_extra : -unstable xen_version : 4.3-unstable xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : (null) xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Thu Feb 28 09:22:41 2013 +0100 26666:94ece33caae2 xen_commandline : cc_compiler : gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 cc_compile_by : root cc_compile_domain : cc_compile_date : Thu Jul 25 13:47:58 SGT 2013 xend_config_format : 4
Quoted 8 lines
It appears that my Xen 4.3-unstable changeset 26666 installation is broken. How do I fix this issue? Are there any mistakes in the steps I have taken?
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
How do I use LDFLAGS to solve the compile error?
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 187 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 186 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 118 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 90 lines · Yongjie
Quoted 42 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD asyours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 9 lines
- 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.
Quoted 4 lines
I think that'd be helpful for others to get a similar baseline configuration.
Thanks,
Quoted 8 lines
Quoted 3 lines
-- 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:
5ae58eaa967495fce99b727422054c58750d252bDom0 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=18652. 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.Quoted 6 lines
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.1so 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 2Quoted 6 lines
Related information: http://www.gossamer-threads.com/lists/xen/devel/283347
How can I fix this issue?
Thank you very much.
Hi,
With reference to this thread http://www.gossamer-threads.com/lists/xen/devel/283347, I tried to workaround the above-mentioned problem. The following are steps I have taken to compile and install Xen 4.3-unstable changeset 26666.
cd
hg clone -r 26666 http://xenbits.xensource.com/xen-unstable.hg xen-unstable.hg-cs26666 cd xen-unstable.hg-cs26666
./configure
make world
cd
git clonegit://xenbits.xen.org/qemu-xen-unstable.git
cd qemu-xen-unstable
cp -a */home/teo-en-ming/xen-unstable.hg-cs26666/tools/qemu-xen-traditional-dir-remotecd ..
cd xen-unstable.hg-cs26666
*sudo -s*
./configure
make world
make installXen 4.3-unstable changeset 26666 compiles and installs successfully. However...
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl create /etc/xen/windows7 Parsing config from /etc/xen/windows7 failed to free memory for the domainteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl list libxl: error: libxl.c:557:libxl_list_domain: geting domain info list: Permission denied libxl_domain_infolist failed.teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl dmesg libxl: error: libxl.c:4759:libxl_xen_console_read_line: reading console ring buffer: Permission deniedteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl info host : intel-core-i5-4430-desktop release : 3.11.0-rc1-xen-teo.en.ming-sgp version : #1 SMP Mon Jul 15 22:07:31 SGT 2013 machine : x86_64 libxl: error: libxl.c:3938:libxl_get_physinfo: getting physinfo: Permission denied libxl_physinfo failed. libxl: error: libxl.c:4320:libxl_get_scheduler: getting domain info list: Permission denied xen_major : 4 xen_minor : 3 xen_extra : -unstable xen_version : 4.3-unstable xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : (null) xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Thu Feb 28 09:22:41 2013 +0100 26666:94ece33caae2 xen_commandline : cc_compiler : gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 cc_compile_by : root cc_compile_domain : cc_compile_date : Thu Jul 25 13:47:58 SGT 2013 xend_config_format : 4It appears that my Xen 4.3-unstable changeset 26666 installation is broken. How do I fix this issue? Are there any mistakes in the steps I have taken?
Quoted 12 lines
Quoted 6 lines
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)How do I use LDFLAGS to solve the compile error?
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
From what I have read, you need to make a change to the Makefile and add in "lrt". But I don't know how to make changes to the Makefile.
Reference: https://answers.launchpad.net/ubuntu/+source/gcc-defaults/+question/149617
mycae: you will need to modify the Makefile to add -lglib to your linker arguments (i.e. the gcc call that makes either the lib or the executable file).
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 202 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 188 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 187 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 119 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 91 lines · Yongjie
Quoted 42 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD asyours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 9 lines
- 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.
Quoted 4 lines
I think that'd be helpful for others to get a similar baseline configuration.
Thanks,
Quoted 8 lines
Quoted 3 lines
-- 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:
5ae58eaa967495fce99b727422054c58750d252bDom0 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=18652. 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.Quoted 6 lines
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.1so 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 2Quoted 6 lines
Related information: http://www.gossamer-threads.com/lists/xen/devel/283347
How can I fix this issue?
Thank you very much.
Hi,
With reference to this thread http://www.gossamer-threads.com/lists/xen/devel/283347, I tried to workaround the above-mentioned problem. The following are steps I have taken to compile and install Xen 4.3-unstable changeset 26666.
cd
hg clone -r 26666 http://xenbits.xensource.com/xen-unstable.hg xen-unstable.hg-cs26666 cd xen-unstable.hg-cs26666
./configure
make world
cd
git clonegit://xenbits.xen.org/qemu-xen-unstable.git
cd qemu-xen-unstable
cp -a */home/teo-en-ming/xen-unstable.hg-cs26666/tools/qemu-xen-traditional-dir-remotecd ..
cd xen-unstable.hg-cs26666
*sudo -s*
./configure
make world
make installXen 4.3-unstable changeset 26666 compiles and installs successfully. However...
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl create /etc/xen/windows7 Parsing config from /etc/xen/windows7 failed to free memory for the domainteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl list libxl: error: libxl.c:557:libxl_list_domain: geting domain info list: Permission denied libxl_domain_infolist failed.teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl dmesg libxl: error: libxl.c:4759:libxl_xen_console_read_line: reading console ring buffer: Permission deniedteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl info host : intel-core-i5-4430-desktop release : 3.11.0-rc1-xen-teo.en.ming-sgp version : #1 SMP Mon Jul 15 22:07:31 SGT 2013 machine : x86_64 libxl: error: libxl.c:3938:libxl_get_physinfo: getting physinfo: Permission denied libxl_physinfo failed. libxl: error: libxl.c:4320:libxl_get_scheduler: getting domain info list: Permission denied xen_major : 4 xen_minor : 3 xen_extra : -unstable xen_version : 4.3-unstable xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : (null) xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Thu Feb 28 09:22:41 2013 +0100 26666:94ece33caae2 xen_commandline : cc_compiler : gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 cc_compile_by : root cc_compile_domain : cc_compile_date : Thu Jul 25 13:47:58 SGT 2013 xend_config_format : 4It appears that my Xen 4.3-unstable changeset 26666 installation is broken. How do I fix this issue? Are there any mistakes in the steps I have taken?
Quoted 12 lines
Quoted 6 lines
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)How do I use LDFLAGS to solve the compile error?
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 11 lines
Hi,
From what I have read, you need to make a change to the
Makefileand add in "lrt". But I don't know how to make changes to theMakefile.Reference: https://answers.launchpad.net/ubuntu/+source/gcc-defaults/+question/149617
mycae: you will need to modify the
Makefileto add -lglib to your linker arguments (i.e. the gcc call that makes either the lib or the executable file).Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi, I have solved the compile error. The following are steps I have used to solve the compile error.
cd
hg clone -r 26666 http://xenbits.xensource.com/xen-unstable.hg xen-unstable.hg-cs26666
cd xen-unstable.hg-cs26666
sudo -s
./configure
make world
nano tools/qemu-xen-traditional-dir-remote/i386-dm/Makefile
Apply the following patch.
===============================================
--- tools/qemu-xen-traditional-dir-remote/i386-dm/Makefile.orig
+++ tools/qemu-xen-traditional-dir-remote/i386-dm/Makefile
@@ -520,7 +520,7 @@
OBJS+=block-raw-posix.o
endif
-LIBS+=-lz
+LIBS+=-lz -lm -lrt
ifdef CONFIG_ALSA
LIBS += -lasound
endif
=================================================
make world
make install
Reference #1: https://aur.archlinux.org/packages/xen/?comments=all
Reference #2: https://github.com/slacks42/alpine-apk/blob/master/xen-git/timer-add-lrt-lm.patch
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 256 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 202 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 188 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 187 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 119 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 91 lines · Yongjie
Quoted 42 lines
-----Original Message-----
From: Singapore Citizen Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 5:04 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; Zhang, Xiantao; [email protected]; Teo En Ming (Zhang Enming)
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 4 lines · Pasi Kärkkäinen
Quoted 3 lines · Yongjie
Quoted 2 lines
Any Intel engineers here who can advise?
I'm also doing some testing but seems we didn't meet a similar issue
with yours.
Quoted 2 lines
Quoted 2 lines
Which CPU are you using?
My Haswell desktop CPU (Core i5-4670) doesn't have the same IGD asyours.
Quoted 8 lines
Quoted 5 lines
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:
Quoted 9 lines
- 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.
Quoted 4 lines
I think that'd be helpful for others to get a similar baseline configuration.
Thanks,
Quoted 8 lines
Quoted 3 lines
-- 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:
5ae58eaa967495fce99b727422054c58750d252bDom0 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=18652. 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.Quoted 6 lines
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.1so 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 2Quoted 6 lines
Related information: http://www.gossamer-threads.com/lists/xen/devel/283347
How can I fix this issue?
Thank you very much.
Hi,
With reference to this thread http://www.gossamer-threads.com/lists/xen/devel/283347, I tried to workaround the above-mentioned problem. The following are steps I have taken to compile and install Xen 4.3-unstable changeset 26666.
cd
hg clone -r 26666 http://xenbits.xensource.com/xen-unstable.hg xen-unstable.hg-cs26666 cd xen-unstable.hg-cs26666
./configure
make world
cd
git clonegit://xenbits.xen.org/qemu-xen-unstable.git
cd qemu-xen-unstable
cp -a */home/teo-en-ming/xen-unstable.hg-cs26666/tools/qemu-xen-traditional-dir-remotecd ..
cd xen-unstable.hg-cs26666
*sudo -s*
./configure
make world
make installXen 4.3-unstable changeset 26666 compiles and installs successfully. However...
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl create /etc/xen/windows7 Parsing config from /etc/xen/windows7 failed to free memory for the domainteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl list libxl: error: libxl.c:557:libxl_list_domain: geting domain info list: Permission denied libxl_domain_infolist failed.teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl dmesg libxl: error: libxl.c:4759:libxl_xen_console_read_line: reading console ring buffer: Permission deniedteo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl info host : intel-core-i5-4430-desktop release : 3.11.0-rc1-xen-teo.en.ming-sgp version : #1 SMP Mon Jul 15 22:07:31 SGT 2013 machine : x86_64 libxl: error: libxl.c:3938:libxl_get_physinfo: getting physinfo: Permission denied libxl_physinfo failed. libxl: error: libxl.c:4320:libxl_get_scheduler: getting domain info list: Permission denied xen_major : 4 xen_minor : 3 xen_extra : -unstable xen_version : 4.3-unstable xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : (null) xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Thu Feb 28 09:22:41 2013 +0100 26666:94ece33caae2 xen_commandline : cc_compiler : gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 cc_compile_by : root cc_compile_domain : cc_compile_date : Thu Jul 25 13:47:58 SGT 2013 xend_config_format : 4It appears that my Xen 4.3-unstable changeset 26666 installation is broken. How do I fix this issue? Are there any mistakes in the steps I have taken?
Quoted 12 lines
Quoted 6 lines
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)How do I use LDFLAGS to solve the compile error?
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)Quoted 11 lines
Hi,
From what I have read, you need to make a change to the
Makefileand add in "lrt". But I don't know how to make changes to theMakefile.Reference: https://answers.launchpad.net/ubuntu/+source/gcc-defaults/+question/149617
mycae: you will need to modify the
Makefileto add -lglib to your linker arguments (i.e. the gcc call that makes either the lib or the executable file).Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)Hi, I have solved the compile error. The following are steps I have used to solve the compile error.
cd
hg clone -r 26666 http://xenbits.xensource.com/xen-unstable.hg xen-unstable.hg-cs26666
cd xen-unstable.hg-cs26666
sudo -s
./configure
make world
nano
tools/qemu-xen-traditional-dir-remote/i386-dm/MakefileApply the following patch.
===============================================
---
tools/qemu-xen-traditional-dir-remote/i386-dm/Makefile.orig+++
tools/qemu-xen-traditional-dir-remote/i386-dm/Makefile(quoted diff) +0
-0@@ -520,7 +520,7 @@OBJS+=block-raw-posix.o
endif
(quoted diff) +1
-1-LIBS+=-lz +LIBS+=-lz -lm -lrtifdef
CONFIG_ALSALIBS += -lasound
endif
Quoted 13 lines
=================================================
make world
make install
Reference #1: https://aur.archlinux.org/packages/xen/?comments=all
Reference #2: https://github.com/slacks42/alpine-apk/blob/master/xen-git/timer-add-lrt-lm.patchSignature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
Even though I have solved the compile error and successfully compiled and installed Xen 4.3-unstable changeset 26666, it is broken and not usable.
Please refer to the following errors.
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl create /etc/xen/windows7 Parsing config from /etc/xen/windows7 failed to free memory for the domain
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl list libxl: error: libxl.c:557:libxl_list_domain: geting domain info list: Permission denied libxl_domain_infolist failed.
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl dmesg libxl: error: libxl.c:4759:libxl_xen_console_read_line: reading console ring buffer: Permission denied
teo-en-ming@intel-core-i5-4430-desktop:~$ sudo xl info host : intel-core-i5-4430-desktop release : 3.10.0-xen-teo.en.ming-sgp version : #1 SMP Sat Jul 13 00:07:55 SGT 2013 machine : x86_64 libxl: error: libxl.c:3938:libxl_get_physinfo: getting physinfo: Permission denied libxl_physinfo failed. libxl: error: libxl.c:4320:libxl_get_scheduler: getting domain info list: Permission denied xen_major : 4 xen_minor : 3 xen_extra : -unstable xen_version : 4.3-unstable xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : (null) xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Thu Feb 28 09:22:41 2013 +0100 26666:94ece33caae2 xen_commandline : cc_compiler : gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 cc_compile_by : root cc_compile_domain : cc_compile_date : Thu Jul 25 23:20:43 SGT 2013 xend_config_format : 4
Please tell me how to solve the above errors.
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 6 lines · Yongjie
Quoted 6 lines
Dear Yongjie,
Could you share with us your hardware and software configuration settings?
Quoted 8 lines
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:
5ae58eaa967495fce99b727422054c58750d252bDom0 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?
Quoted 2 lines
2. no offline patch. (just use the code in the tree I mentioned above.)
Ok, so this is a pre-4.3 version.
Quoted 5 lines
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?
Quoted 7 lines
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 ?
Quoted 17 lines
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.
Quoted 3 lines
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
Quoted 14 lines · Pasi Kärkkäinen
Quoted 13 lines · Yongjie
Quoted 6 lines
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:
5ae58eaa967495fce99b727422054c58750d252bDom0 kernel: Linux 3.8.1
N.B. I didn't use the latest traditional qemu because of the following bug:
Quoted 6 lines
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?
PCI and GPU passthru work fine for me on 4.2.2 and 4.3.0 using qemu-dm (traditional), but only as long as I don't assign > 2GB of RAM to a domU. I'm sure I saw patches that were expected to address this that were also supposed to be in 4.3.0, so either the patches didn't make it into 4.3.0 for some reason, or the bug I am hitting is a different bug with similar symptoms.
When I get around to it I'm going to set up a Linux domU with GPU passthrough and > 2GB of RAM so I can easily compare the memory maps and where the GPU's BARs are mapped and see if there is an obvious overlap where the memory stomp happens.
Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 21 lines
-----Original Message-----
From: Pasi Kärkkäinen [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 7:57 PM
To: Ren, Yongjie
Cc: [email protected]; [email protected]; Zhang, Xiantao; [email protected]
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 10 lines · Yongjie
Quoted 6 lines
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
Quoted 9 lines
Quoted 4 lines
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=1865Hmm.. 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.
Quoted 6 lines
Quoted 3 lines
2. no offline patch. (just use the code in the tree I mentioned above.)
Ok, so this is a pre-4.3 version.
Yes.
Quoted 10 lines
Quoted 2 lines
3. hypervisor options: dom0_mem=1024M iommu=1 loglvl=all
guest_loglvl=all unrestricted_guest=1 msi=1
Quoted 4 lines
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.
Quoted 6 lines
Quoted 4 lines
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 hdgraphics 4600" to download the driver.
Quoted 1 line
Quoted 8 lines
Quoted 3 lines
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.
Quoted 27 lines
Quoted 17 lines
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 aremouse and keyboard.
Quoted 2 lines
9. I can successfully assign this IGD 4600 (in Core i5-4670 CPU) to the
Windows guest. And the IGD can work fine.
Quoted 2 lines
See some attached pictures for more info.
Thanks a lot!
-- Pasi
Quoted 11 lines · Yongjie
Quoted 8 lines
Quoted 3 lines
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=1865Hmm.. 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.
Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue? If not, we should create one.
-- Pasi
Quoted 12 lines · Pasi Kärkkäinen
Quoted 11 lines · Yongjie
Quoted 1 line
Quoted 1 line
N.B. I didn't use the latest traditional qemu because of the
following bug:
Quoted 1 line
Quoted 1 line
http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865
Quoted 3 lines
Quoted 1 line
Hmm.. isn't that bug affecting qemu-traditional in general, not
PCI/GPU
Quoted 3 lines
passthru specifically?
Or is it *only* PCI/GPU passthru that it breaks for you?
Quoted 7 lines
Quoted 3 lines
It's a general device assignment issue.
Any PCI device can't be assigned to a HVM guest with the latest qemu-traditional.Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.
FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am successfully passing USB, audio, GPU PCI devices using it (as long as I stay under the 2GB domU RAM limit). So whatever the issue is it isn't generic.
That bug report doesn't include the domU config file, and IIRC I saw a similar error when device_model/device_model_override and device_model_version don't match or are unavailable in the build (e.g. building without upstream and specifying traditional or vice versa). More info needed to verify, I think.
Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
All,
Quoted 34 lines · Gordan Bobic
Quoted 12 lines · Pasi Kärkkäinen
Quoted 10 lines · Yongjie
Quoted 1 line
Quoted 1 line
N.B. I didn't use the latest traditional qemu because of the
following bug:
Quoted 1 line
bug.cgi?id=1865<http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865>
Quoted 6 lines
Quoted 1 line
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?Quoted 9 lines
Quoted 5 lines
It's a general device assignment issue.
Any PCI device can't be assigned to a HVM guest with the latest qemu-traditional.Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am successfully passing USB, audio, GPU PCI devices using it (as long as I stay under the 2GB domU RAM limit). So whatever the issue is it isn't generic.
That bug report doesn't include the domU config file, and IIRC I saw a similar error when device_model/device_model_**override and
device_model_versiondon't match or are unavailable in the build (e.g. building without upstream and specifying traditional or vice versa). More info needed to verify, I think.
Quoted 8 lines
Gordan
______________________________**_________________
Xen-users mailing list
[email protected]
http://lists.xen.org/xen-users
And just to add a little more variety, I'm also using traditional (under 4.3) to pass through USB and GPU (Radeon 6770) to a Windows 7 DomU configured with 6Gb for memory. Only using a patch to work around a broken BIOS implementation so I have IOMMU support.
Regards,
David
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
A message that is not in the archive (sent off-list or not yet received): CAPCj91JrPRHucisCmBom=0OoXP2rfJ8woH2vFoNpehJsXPpiTA@mail.gmail.com
Quoted 39 lines · David Sutton
All,
On Thu, Jul 25, 2013 at 4:20 AM, Gordan Bobic wrote:
On Thu, 25 Jul 2013 12:07:25 +0300, Pasi Kärkkäinen wrote:
Quoted 1 line · Yongjie
Quoted 1 line
N.B. I didn't use the latest traditional qemu because of the
following bug:
Quoted 1 line
Quoted 1 line
http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865
[3]Quoted 3 lines
Quoted 1 line
Hmm.. isn't that bug affecting qemu-traditional in general, not
PCI/GPU
Quoted 3 lines
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.Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am
successfully
passing USB, audio, GPU PCI devices using it (as long as I stay
under
the 2GB domU RAM limit). So whatever the issue is it isn't generic.That bug report doesn't include the domU config file, and IIRC I saw a similar error when device_model/device_model_override and
device_model_versiondon't match or are unavailable in the build (e.g. building without upstream and specifying traditional or vice versa). More info needed to verify, I think.
Quoted 4 lines
And just to add a little more variety, I'm also using traditional (under 4.3) to pass through USB and GPU (Radeon 6770) to a Windows 7 DomU configured with 6Gb for memory. Only using a patch to work around a broken BIOS implementation so I have IOMMU support.
And you don't suffer from a memory stomp resulting in frame buffer corruption shortly followed by a domU crash with that much RAM passed to domU?
Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 49 lines · Gordan Bobic
Quoted 40 lines · David Sutton
All,
On Thu, Jul 25, 2013 at 4:20 AM, Gordan Bobic wrote:
On Thu, 25 Jul 2013 12:07:25 +0300, Pasi Kärkkäinen wrote:
Quoted 1 line · Yongjie
Quoted 1 line
N.B. I didn't use the latest traditional qemu because of the
following bug:
Quoted 1 line
Quoted 1 line
http://bugzilla-archived.**xenproject.org//bugzilla/show_**
bug.cgi?id=1865<http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865>
[3]Quoted 3 lines
Quoted 1 line
Hmm.. isn't that bug affecting qemu-traditional in general, not
PCI/GPU
Quoted 3 lines
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.Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am successfully passing USB, audio, GPU PCI devices using it (as long as I stay under the 2GB domU RAM limit). So whatever the issue is it isn't generic.
That bug report doesn't include the domU config file, and IIRC I saw a similar error when device_model/device_model_**override and
device_model_versiondon't match or are unavailable in the build (e.g. building without upstream and specifying traditional or vice versa). More info needed to verify, I think.Quoted 5 lines
And just to add a little more variety, I'm also using traditional (under 4.3) to pass through USB and GPU (Radeon 6770) to a Windows 7 DomU configured with 6Gb for memory. Only using a patch to work around a broken BIOS implementation so I have IOMMU support.
Quoted 6 lines
And you don't suffer from a memory stomp resulting in frame buffer corruption shortly followed by a domU crash with that much RAM passed to domU?
Gordan
Gordan,
No, its been stable; I tend to use that VM for gaming and for management
of an XCP instance. I even have CCC installed, so I can use overscan. Everything I've used on it (Defiance, Skyrim, Oblivion, Borderlands just to name a few) work without issue. I've included the config file I use to start it.
For booting the hypervisor and Dom0, the options I use are:
multiboot /boot/xen-4.3.0.gz /boot/xen-4.3.0.gz
dom0_mem=4096M,max:4096M dom0_max_vcpus=3 loglvl=all guest_loglvl=all apic_verbosity=debug e820-verbose=1 iommu=debug,verbose
module /boot/vmlinuz-linux /boot/vmlinuz-linux
root=/dev/mapper/PhoenixVG00-lvRoot ro console=hvc0 console=tty0 earlyprintk=xen
(I use Grub2, in EFI mode)
Specs: ASUS Sabertooth 990FX, AMD 8350, 24Gb RAM, Radeon 6770, Radeon
7750.
Regards,
David
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Just to provide another input:
My first try with a IGD4000 passthrough to win7 in a 3GB RAM domU failed with an old XEN version (about 4.1.3?).
I then step back to use 2GB without issue.
Yesterday, I decided to have another try after moving to XEN 4.3.0. This time 3GB works for me.
I just read another thread suggesting that this may have something to do with the PCI address space occupied by the device you passed through.
The bigger the occupation is, the more likely to fail. I'm not sure if it has anything to do with the memory allocation to the IGD.
My issue is that the panel constantly flashes rapidly with different colors once the guest starts.
It lasts until the guest loads the display driver. Quite annoy, but still usable.
Quoted 58 lines · Gordan Bobic
Quoted 40 lines · David Sutton
All,
On Thu, Jul 25, 2013 at 4:20 AM, Gordan Bobic wrote:
On Thu, 25 Jul 2013 12:07:25 +0300, Pasi Kärkkäinen wrote:
Quoted 1 line · Yongjie
Quoted 1 line
N.B. I didn't use the latest traditional qemu because of the
following bug:
Quoted 1 line
Quoted 1 line
http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865
[3]Quoted 3 lines
Quoted 1 line
Hmm.. isn't that bug affecting qemu-traditional in general, not
PCI/GPU
Quoted 3 lines
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.Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am successfully passing USB, audio, GPU PCI devices using it (as long as I stay under the 2GB domU RAM limit). So whatever the issue is it isn't generic.
That bug report doesn't include the domU config file, and IIRC I saw a similar error when device_model/device_model_override and
device_model_versiondon't match or are unavailable in the build (e.g. building without upstream and specifying traditional or vice versa). More info needed to verify, I think.Quoted 4 lines
And just to add a little more variety, I'm also using traditional (under 4.3) to pass through USB and GPU (Radeon 6770) to a Windows 7 DomU configured with 6Gb for memory. Only using a patch to work around a broken BIOS implementation so I have IOMMU support.
And you don't suffer from a memory stomp resulting in frame buffer corruption shortly followed by a domU crash with that much RAM passed to domU?
Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
A message that is not in the archive (sent off-list or not yet received): CAPCj91J=eCwhYT1H4Gchw+mRHNpXgamO+LrHRoz2rX-CdLKCEw@mail.gmail.com
Quoted 72 lines · David Sutton
On Thu, Jul 25, 2013 at 9:51 AM, Gordan Bobic wrote:
On Thu, 25 Jul 2013 09:41:17 -0500, David Sutton wrote:
All,On Thu, Jul 25, 2013 at 4:20 AM, Gordan Bobic wrote:
On Thu, 25 Jul 2013 12:07:25 +0300, Pasi Kärkkäinen wrote:
On Thu, Jul 25, 2013 at 08:58:58AM +0000, Ren, Yongjie wrote:
> > 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
[3]
[3]> >
>
> 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.Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am
successfully
passing USB, audio, GPU PCI devices using it (as long as I stay
under
the 2GB domU RAM limit). So whatever the issue is it isn't generic.That bug report doesn't include the domU config file, and IIRC I saw a similar error when device_model/device_model_override and
device_model_versiondon't match or are unavailable in the build (e.g. building without upstream and specifying traditional or vice versa). More info needed to verify, I think.And just to add a little more variety, I'm also using traditional (under 4.3) to pass through USB and GPU (Radeon 6770) to a Windows 7 DomU configured with 6Gb for memory. Only using a patch to work
around
a broken BIOS implementation so I have IOMMU support.And you don't suffer from a memory stomp resulting in frame buffer corruption shortly followed by a domU crash with that much RAM passed to domU?
No, its been stable; I tend to use that VM for gaming and for management of an XCP instance. I even have CCC installed, so I can use overscan. Everything I've used on it (Defiance, Skyrim, Oblivion, Borderlands just to name a few) work without issue. I've included the config file I use to start it.
For booting the hypervisor and Dom0, the options I use are:
multiboot
/boot/xen-4.3.0.gz/boot/xen-4.3.0.gzdom0_mem=4096M,max:4096M dom0_max_vcpus=3 loglvl=all guest_loglvl=all apic_verbosity=debug e820-verbose=1 iommu=debug,verbose
module/boot/vmlinuz-linux/boot/vmlinuz-linux
root=/dev/mapper/PhoenixVG00-lvRoot ro console=hvc0 console=tty0 earlyprintk=xen
Quoted 4 lines
(I use Grub2, in EFI mode)
Specs: ASUS Sabertooth 990FX, AMD 8350, 24Gb RAM, Radeon 6770,
Radeon 7750.
Interesting. The config looks pretty much identical to mine, but mine works fine for hours with a 2GB domU and crashes pretty much instantly when firing up a 3D app with > 2GB given to domU. The only difference is that I have no limiting on dom0 RAM/CPU, but I cannot see that being the root cause of the problem; still, will try it tonight and see if it makes a difference.
Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 30 lines
-----Original Message-----
From: Gordan Bobic [mailto:[email protected]]
Sent: Thursday, July 25, 2013 5:21 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; [email protected]; Zhang, Xiantao; [email protected]
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 5 lines · Pasi Kärkkäinen
Quoted 4 lines · Yongjie
Quoted 1 line
Quoted 1 line
N.B. I didn't use the latest traditional qemu because of the
following bug:
Quoted 1 line
Quoted 1 line
http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865
Quoted 12 lines
Quoted 11 lines
Quoted 3 lines
Quoted 1 line
Hmm.. isn't that bug affecting qemu-traditional in general, not
PCI/GPU
Quoted 3 lines
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.
Quoted 8 lines
Quoted 3 lines
Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am successfully passing USB, audio, GPU PCI devices using it (as long as I stay under the 2GB domU RAM limit). So whatever the issue is it isn't generic.
Hi Gordan,
Can you give me the commit of the traditional-qemu with which you can successfully pass through USB/GPU to a guest ?
If your commit is before that culprit commit in that bugzilla, it should be certainly successful for you to do device passthrough.
Best Regards,
Yongjie (Jay)
Quoted 7 lines
That bug report doesn't include the domU config file, and IIRC I saw a similar error when device_model/device_model_override and
device_model_versiondon't match or are unavailable in the build (e.g. building without upstream and specifying traditional or vice versa). More info needed to verify, I think.Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 41 lines · Yongjie
Quoted 35 lines
-----Original Message-----
From: Gordan Bobic [mailto:[email protected]]
Sent: Thursday, July 25, 2013 5:21 PM
To: Pasi Kärkkäinen
Cc: Ren, Yongjie; [email protected]; [email protected]; Zhang, Xiantao; [email protected]
Subject: Re: [Xen-devel] Intel HD Graphics 4600 Xen VGA Passthrough to Windows 7 Ultimate HVM domUQuoted 5 lines · Pasi Kärkkäinen
Quoted 4 lines · Yongjie
Quoted 1 line
Quoted 1 line
N.B. I didn't use the latest traditional qemu because of the
following bug:
Quoted 1 line
Quoted 1 line
http://bugzilla-archived.xenproject.org//bugzilla/show_bug.cgi?id=1865
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Hmm.. isn't that bug affecting qemu-traditional in general, not
PCI/GPU
Quoted 3 lines
passthru specifically?
Or is it *only* PCI/GPU passthru that it breaks for you?Quoted 8 lines
Quoted 4 lines
It's a general device assignment issue.
Any PCI device can't be assigned to a HVM guest with the latest qemu-traditional.Ok. Is there already a separate thread on xen-devel about the qemu-traditional PCI assignment issue?
If not, we should create one.Quoted 6 lines
FWIW, I'm using qemu-dm (i.e. traditional) in 4.3 and am
successfully
passing USB, audio, GPU PCI devices using it (as long as I stay
under
the 2GB domU RAM limit). So whatever the issue is it isn't generic.
Quoted 5 lines
Hi Gordan,
Can you give me the commit of the traditional-qemu with which you can successfully pass through USB/GPU to a guest ?
If your commit is before that culprit commit in that bugzilla, it should be certainly successful for you to do device passthrough.
I am using unpatched 4.3.0 release version. It also worked for me with 4.2.2. The bug report above may be bogus - there is no config that was being used provided, and I recall seeing a similar error when I had a typo in my device_model/device_model_override or device_model_version config options. If you are seeing a similar error, make sure the values you have set are as follows (adjust to correct path to your qemu-dm):
device_model_override="/usr/lib/xen/bin/qemu-dm"
device_model_version="qemu-xen-traditional"
Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 9 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
<snip>
Quoted 6 lines
device_model_version="qemu-xen-traditional"
name="Windows7"
builder="hvm"
vcpus=4
memory=2048
There was another report that >= 2GB of RAM with GPU passthru doesn't work, so please try with 1GB of RAM for the HVM guest.
Also I think there is another PCI passthru related issue in Xen 4.4 at the moment,
so you probably should try using Xen 4.3.0 or wait for a couple of weeks for the 4.4 issue to get sorted out.
-- Pasi
Quoted 18 lines · Pasi Kärkkäinen
Quoted 9 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
<snip>
Quoted 6 lines
device_model_version="qemu-xen-traditional"
name="Windows7"
builder="hvm"
vcpus=4
memory=2048
Quoted 9 lines
There was another report that >= 2GB of RAM with GPU passthru doesn't work, so please try with 1GB of RAM for the HVM guest.
Also I think there is another PCI passthru related issue in Xen 4.4 at the moment,
so you probably should try using Xen 4.3.0 or wait for a couple of weeks for the 4.4 issue to get sorted out.-- Pasi
Dear Pasi,
I am still using Xen 4.4-unstable. I have tried memory=1024 for both Windows 8 and Windows 8.1 HVM domU but both of them couldn't start. I have also tried memory=1024 for Windows 7 HVM, and although it could start, I still get error code 43 and 16 colors on the monitor only.
I have tried Xen 4.3.0 as well but with Windows 7 HVM domU, I still get error code 43 and 16 colors on the monitor.
Please advise.
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 20 lines · Pasi Kärkkäinen
Quoted 9 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
<snip>
Quoted 6 lines
device_model_version="qemu-xen-traditional"
name="Windows7"
builder="hvm"
vcpus=4
memory=2048
Quoted 6 lines
There was another report that >= 2GB of RAM with GPU passthru doesn't work, so please try with 1GB of RAM for the HVM guest.
Also I think there is another PCI passthru related issue in Xen 4.4 at the moment,
so you probably should try using Xen 4.3.0 or wait for a couple of weeks for the 4.4 issue to get sorted out.
In my case, 2048MB works for IGD4000.
What I'm aware is that guest memory > 3GB is known to not working.
Quoted 7 lines
-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 24 lines · G.R.
Quoted 23 lines · Pasi Kärkkäinen
Quoted 9 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Hi,
I have just compiled and installed Xen 4.4-unstable changeset 27262 and Linux kernel 3.11.0-rc1. My Windows 7 Ultimate HVM domU configuration file is as attached.
I tried to passthrough the onboard Intel HD Graphics 4600 IGD to Windows 7 Ultimate HVM domU.
<snip>
Quoted 6 lines
device_model_version="qemu-xen-traditional"
name="Windows7"
builder="hvm"
vcpus=4
memory=2048There was another report that >= 2GB of RAM with GPU passthru doesn't work, so please try with 1GB of RAM for the HVM guest.
Quoted 6 lines
Quoted 3 lines
Also I think there is another PCI passthru related issue in Xen 4.4 at the moment,
so you probably should try using Xen 4.3.0 or wait for a couple of weeks for the 4.4 issue to get sorted out.In my case, 2048MB works for IGD4000.
What I'm aware is that guest memory > 3GB is known to not working.
Which was supposed-to-be-but-isn't fixed in 4.3.0, as far as my testing shows. Except I see the problem with > 2GB, rather than > 3GB, so it may be the same bug or it could be a different bug with similar symptoms.
Gordan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel