|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Re:Re: VGA Passthru
Hi,
1: I/O virtualisation enabled?
> # xm dmesg | grep "I/O virtualisation"
> (XEN) I/O virtualisation enabled
2:Does PCI(excluding VGA ) passthrough work?
Example of NIC passthrough
http://toshi3.cocolog-nifty.com/photos/uncategorized/2010/04/22/xen4.jpg
> #ispci
> 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network
> Connection (rev 02)
> grub.conf
> xen-pciback.hide=(00:19.0)
> hvm file
> gfx_passthru=0
> pci=[ ' 00:19.0' ]
3:PCI device assignable ?
> # xm pci-list-assignable-device
> 0000:00:02.0
> 0000:00:02.1
> :
Please refer to the xen wiki.
http://wiki.xensource.com/xenwiki/VTdHowTo
http://wiki.xensource.com/xenwiki/XenPCIpassthrough
http://wiki.xensource.com/xenwiki/XenVGAPassthrough
On 2010/05/09, at 7:00, 王俊仁 wrote:
> Hi.
> Thanks for your help. It did not work. After I run xm create. The linux stop.
> And the network connection broken.
> I check /var/log/xen/xend.log. I found these warning message.
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call: VBD.set_device not
> found
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call: VBD.set_type not
> found
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call:
> session.get_all_records not found
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call: event.get_record
> not found
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call: event.get_all not
> found
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call: VIF.set_device not
> found
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call: VIF.set_MAC not
> found
> [2010-05-09 05:27:53 1720] WARNING (XendAPI:705) API call: VIF.set_MTU not
> found
> et_device not foundVBD.set_device not f2010-05-09 05:27:53 1720] WARNING
> (XendAPI:705) API call: debug.get_all not found
>
>
>
> 2010/5/8 Tanaka Toshimitsu <t_tanaka@xxxxxxxxxxxxxxxx>
> Hi,
>
> I am using Ubuntu 9.04(64-bit, kernel 2.6.31).
>
> Kernel config
> CONFIG_XEN_PCI_PASSTHROUGH = y
> CONFIG_XEN_PCIDEV_FRONTEND = y
> CONFIG_XEN_NETDEV_BACKEND = y
> CONFIG_XEN_PCIDEV_BACKEND = y
> CONFIG_XEN_PCIDEV_BACKEND_PASS = y
> CONFIG_DRM is not set
>
> grub conf
> kernel /boot/xen.gz dom0_mem=1024M iommu=1
> module ...
> xen-pciback.hide=(00:02.0)(00:02.1)(00:1a.0)(00:1a.1)(00:1d.0)(00:1d.1)(00:1d.2)
>
> xp.hvm
> gfx_passthru=1
> pci=['00:02.0-1' , '00:1a.0-1' , '00:1d.0-2' ]
>
>
> lspci
> 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated
> Graphics Controller (rev 02)
> 00:02.1 Display controller: Intel Corporation 82Q35 Express Integrated
> Graphics Controller (rev 02)
> :
> 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #4 (rev 02)
> 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #5 (rev 02)
> :
> 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #1 (rev 02)
> 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #2 (rev 02)
> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #3 (rev 02)
>
> On 2010/05/08, at 23:35, 王俊仁 wrote:
> > Hi
> > Thanks....
> >
> > Can I send me the .config file you use building the linux , the grub.conf
> > you use booting the kernel and the config file for XM domain......etc
> >
> > Thanks for your help...
> >
> > 2010/5/8 Tanaka Toshimitsu <t_tanaka@xxxxxxxxxxxxxxxx>
> > Hi,
> >
> > I succeeded in VGA passthrough.
> > I'm using Dell Optplex 755(Q35 chipset).
> >
> > http://toshi3.cocolog-nifty.com/photos/uncategorized/2010/04/23/passthru_3.jpg
> >
> > I login to Dom0 by using SSH from another PC,and I start DomU guest.
> >
> > On 2010/05/08, at 20:32, 王俊仁 wrote:
> > > Hello
> > > I am new in XEN and Linux. I am trying the VGA passthru. I can
> > > xen-pciback.hide EtherNet, Serial Com port. But when I xen-pciback.hide
> > > my VGA. I can no longer login to the Linux(Fedora 12).
> > > Then how can I xm create a XP DomU guest? Can anyone help?
> > >
> > > I am using Intel Q35 MB with Intel Core2 CPU.
---
Toshimitsu Tanaka
t_tanaka@xxxxxxxxxxxxxxxx
http://toshi3.cocolog-nifty.com/blog/
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|