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

RE: [Xen-users] Sharing PCI devices

To: "Didier Trosset" <didier_trosset@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Sharing PCI devices
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 8 Jun 2007 11:20:16 +0200
Delivery-date: Fri, 08 Jun 2007 02:18:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46690FA4.405@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceppOwVZyzRD94xTpeMXY9NIdn4PAACNDFQ
Thread-topic: [Xen-users] Sharing PCI devices
> This means that I could make my device working in a kind of 
> degraded mode, 
> where it would only be slave on the PCI bus (i.e. no DMA with 
> bus mastering, 
> in either direction, and no interrupts) within a HVM. Is this correct 
> (leaving aside the concurrent access problems) ?

Yes that would, technically, work [assuming the modifications are made
to the HVM portion of Xen and related tools to allow you to pass the
information of which hardware you want to pass to the HVM domain and
"unblock" the related IO ports for the device - currently there is no
support for this, although I think the patches for supporting PCI
passthrough from Intel and Neocleus may help on this - neither of these
patch-sets have been accepted yet]. 

However, you would probably struggle to find much hardware that works in
this way - at the very least you'll need to write your own drivers, as
almost all drivers at the very least use interrupts to know what's going
on.

--
Mats



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

<Prev in Thread] Current Thread [Next in Thread>