WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: VGA Passthru

To: Tanaka Toshimitsu <t_tanaka@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: VGA Passthru
From: 王俊仁 <ben3468.wang@xxxxxxxxx>
Date: Sun, 9 May 2010 06:00:38 +0800
Cc:
Delivery-date: Sat, 08 May 2010 15:02:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=4C4VaNDI561r6MCf6CbZuVr+9uVRQpi7QOZJVGXmB0I=; b=wstohN2oPygm504bkMgdKGqAXSfEEQnoz+irI8rVYzSsd7YnBPoRhXw0y/p9l5dzNx U03eq755OJZeSTALQ7fj7KLN5iFmIK4t+RNsk2NvFrGMXgheqQtE3lshzhSTNfqvqoWj Ab2/CzCV8d5ftpXqbZaYQtIh57L/BLMxlp/pQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ob6CjoYzxyPTgiHyYgxwjeuJmRNGlinYnegFfBVHh2TuDjVMviCgG6Ri3I+YcaDL0T 9G4MaB3DBrFhlf1VMh1DEE77fD396kcntxQqDs6Kj/32jFpZhC1rEA9tYe7zKm7ZSJXA yg2xM068vopfFE8ZZjUiKyt3GUWDyZ/ox/djM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0FD612FC-FD2F-4282-A93B-E29202285769@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <l2lb4201e341005080432u8f27a990zc7ca36e0cf21b69e@xxxxxxxxxxxxxx> <F039217E-2E6F-4859-B412-CAD442EC10D6@xxxxxxxxxxxxxxxx> <z2hb4201e341005080735l1d7c471cl26d3dc79593c62fc@xxxxxxxxxxxxxx> <0FD612FC-FD2F-4282-A93B-E29202285769@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.
---
Toshimistu Tanaka

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>