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] Exporting a PCI Device

To: "Jan Kalcic" <jandot@xxxxxxxxxxxxxx>, <deshantm@xxxxxxxxx>
Subject: RE: [Xen-users] Exporting a PCI Device
From: "Joris Dobbelsteen" <Joris@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2008 15:51:48 -0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 18 Feb 2008 07:52:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
References: <47B8C482.5050600@xxxxxxxxxxxxxx><1e16a9ed0802171801n591a4949r4ee5e362c2f80f05@xxxxxxxxxxxxxx> <47B965A9.4040300@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchyHaCUzj3X1iykT0ifKHTBScIMhAAJ8APg
Thread-topic: [Xen-users] Exporting a PCI Device
>-----Original Message-----
>From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
>[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jan Kalcic
>Sent: Monday, 18 February 2008 12:02
>To: deshantm@xxxxxxxxx
>Cc: xen-users@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-users] Exporting a PCI Device
>
>Todd Deshane wrote:
>>
>> Hi,
>>
>> On Feb 17, 2008 6:34 PM, Jan Kalcic <jandot@xxxxxxxxxxxxxx 
>> <mailto:jandot@xxxxxxxxxxxxxx>> wrote:
>>
>>     Hi All,
>>
>>     just a quick question I could not figure out. Is there a way to
>>     export a
>>     PCI device to multiple VMs (para) keeping it available 
>to dom0? Xen
>>     version is 3.0.4.
>>
>>
>> As far as I know you can't. That is what virtual devices are 
>used for 
>> right?
>>
>> In what scenario would you want to grant direct access to a 
>PCI device 
>> in VMs and also in dom0?
>>
>Hi Todd,
>
>the PCI device which I would need to "share" is the fibre 
>channel card connected to two different storage, on of this is 
>the VMs repository which has to be visible to dom0 and the 
>other one is the data storage for VMs which, obviously, has to 
>be visibile to VMs. So the solution would be using two 
>different fibre channel cards, right?

What I would do is make all storage available to the dom0 and use
regular methods to export it to the domU.
In other words: treat dom0 as a very fancy piece of hardware that's
between your kernel and the fibre-channel attached storage. For generic
solutions the Virtual Block Device should be fast enough, otherwise you
should probably consider a separate server, dedicated to that single
task.

I don't know if you are going to loose any fibre-channel advantages, but
I figure you also reduce administrative complexity to dom0's only.

- Joris


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