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

Re: [Xen-devel] FLR Patch for Xen 4.0

To: "Han, Weidong" <weidong.han@xxxxxxxxx>
Subject: Re: [Xen-devel] FLR Patch for Xen 4.0
From: Bei Guan <gbtju85@xxxxxxxxx>
Date: Thu, 13 May 2010 15:08:13 +0800
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 May 2010 00:08:55 -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:cc:content-type; bh=EwCxOTADfcStwqa5iRDIJ3UbQRQZA30xAyDp2WFW9PQ=; b=MLYU5PtBDmLyZxLvV/Rb87YV3mQQ+oj5j8MYKDbEumct6OvRxrderjZ1AfomwSQuYH h7uKr1Mn59v8XamKMnCG43qb/H0CGyfC4FURW7T8ulf15DDQovZ2yVpNx4xDqXHCZBC5 Si+aXM7ltqJAAiIuyRGHo9/2rkkCdBQwbTejM=
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 :cc:content-type; b=EXS779SwgEFfofrGl4U2LbTJ03aP5OE4alPntl+DSHRP6mWrtE3wTSna1vIctdNuX9 IWowZsXnNOgnB+W5+qhX3TZMkd5bYSenfUo+iconiinv9EXctI6NRJ8H0mhvioyKnrfF OF+S/faqczkuZquIWMtFQkYZBg6g273C+B99g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1A42CE6F5F474C41B63392A5F80372B21E8855B2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinWgtzpeIcwEbl3f5VBAA2wnidKbvh3j42N9y5U@xxxxxxxxxxxxxx> <1A42CE6F5F474C41B63392A5F80372B21E819383@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTikoWqMiijHE3QBEelH-JVao6-M2GemJaXZD9k_5@xxxxxxxxxxxxxx> <1A42CE6F5F474C41B63392A5F80372B21E8193F6@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTik8pIQ51QEL_Ih0K4XDc8-29wr0wAcTdOFXXxf1@xxxxxxxxxxxxxx> <1A42CE6F5F474C41B63392A5F80372B21E8855B2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
There are some errors in the qemu log, for example:
 
......
xs_read(): fail to get num_devs. /local/domain/0/backend/pci/1/0/num_devs.
......
xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error
......
xs_read(/local/domain/1/log-throttling): read error
......
pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x1:0x0.0x0
 
 
Are these errors have to do with VGA Passthrough?
 
 
 

 
2010/5/13 Han, Weidong <weidong.han@xxxxxxxxx>

I didn’t try it recently. I think it should still work.

 

Regards,

Weidong

 

From: Bei Guan [mailto:gbtju85@xxxxxxxxx]
Sent: Thursday, May 13, 2010 10:34 AM


To: Han, Weidong
Cc: Xen Devel
Subject: Re: [Xen-devel] FLR Patch for Xen 4.0

 

Hi,

 

Have you test the nVidia Geforce 8400 GS PCI Express x16 in xen4.0, which Mr. Teo Enming have test in xen 3.5-unstable branch wich some patch.


Thanks a lot!

 

 

 

 

2010/5/10 Han, Weidong <weidong.han@xxxxxxxxx>

If the device doesn’t support FLR capability, there will be a default reset for it, e.g. Dstate transition. But it doesn’t guarantee to work. For your ATI card, we didn’t try with it. Likely it cannot work. nVidia Quadro FX 3800 and IGD on Intel platforms (e.g. Q35 and Q45) were tested and works on current Xen upstream. Some other gfx cards  may work with extra patches (e.g. 1:1 map vBAR and pBAR). There were many emails to discuss it in xen-devel mailing list, you’d better to find and read those emails.

 

Regards,

Weidong

 

From: Bei Guan [mailto:gbtju85@xxxxxxxxx]
Sent: Monday, May 10, 2010 4:53 PM
To: Han, Weidong
Cc: Xen Devel
Subject: Re: [Xen-devel] FLR Patch for Xen 4.0

 

My VGA hardware is as following. Can I find a patch to make it support pci passthrough? 

#lspci
……
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3450


Xen4.0 can not support the ATI adapters defaultly, is it? Because my VGA passthrough can not work correctly.


2010/5/10 Han, Weidong <weidong.han@xxxxxxxxx>

There were several patches checked into xen for pci passthru, you can find relevant code in tools/python/xen/xend/server/pciif.py.

 

Regards,

Weidong

 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Bei Guan
Sent: Monday, May 10, 2010 3:44 PM
To: Xen Devel
Subject: [Xen-devel] FLR Patch for Xen 4.0

 

Hi,

Is there a FLR patch for xen 4.0 PCI Passthrought ?
Thanks.

gavin

 

 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel