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: Bei Guan <gbtju85@xxxxxxxxx>
Subject: RE: [Xen-devel] FLR Patch for Xen 4.0
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Fri, 14 May 2010 09:00:21 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 May 2010 18:01:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimlHHDIu-hnRv5RhHv0m9PjygGX2ZoRVq4U_LRV@xxxxxxxxxxxxxx>
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> <AANLkTimlHHDIu-hnRv5RhHv0m9PjygGX2ZoRVq4U_LRV@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcryaxB+TjPWMpHzRM6leWAIhPrOkwAlar7g
Thread-topic: [Xen-devel] FLR Patch for Xen 4.0

These errors are harmless.

 

From: Bei Guan [mailto:gbtju85@xxxxxxxxx]
Sent: Thursday, May 13, 2010 3:08 PM
To: Han, Weidong
Cc: Xen Devel
Subject: Re: [Xen-devel] FLR Patch for Xen 4.0

 

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