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: FW: [Xen-users] Re: [Xen-devel] Assigning a physical device to apart

To: Preethi M <preethi.techquery@xxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: FW: [Xen-users] Re: [Xen-devel] Assigning a physical device to aparticular domain
From: Sharath Babu <sharathx@xxxxxxxxx>
Date: Thu, 6 Oct 2005 21:44:21 +0530
Delivery-date: Thu, 06 Oct 2005 16:11:57 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=gmdB49MqMJToSgdn8ajLU2hxTkH2/MdRvyuoKMu5TcFskLHC5fDUVh3fTUlOJ8CH/LR00Ag//Xq12jUP1rYgbMtMUssgR5WSjUm0jqaPdYZ6RRVwUTfURLc+KeEf17OpK/UO/rDIfZ/4SUwgG2txl8cJKsChb7N2xUQAwcihRHg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a0917c080510051426qf92f027n24f801b95136600b@xxxxxxxxxxxxxx>
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: <950AE84B7A19D04BB262C61FB821F5AB09CF4FED@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <a0917c080510051426qf92f027n24f801b95136600b@xxxxxxxxxxxxxx>
Reply-to: Sharath Babu <sharathx@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
(%02x:%02x.%1x) = (device's PCI bus Num: device Num. function Num)

By adding physdev_dom0_hide=(%02x:%02x.%1x) to the boot option, you are hiding that perticular PCI device from Dom0 which is necessary.

Eg: physdev_dom0_hide=(00:04.1)

Then you would configure and compile the DomU kernel to include the pci device that you want to access from domU

Then export the PCI device to the domU by adding the following to your domU's configuration file

pci = ['0,4,1']

Regards,



On 10/6/05, Preethi M <preethi.techquery@xxxxxxxxx> wrote:
Thanks a lot. Can you please tell me, what does this %02x mean??
 
=(%02x:%02x.%1x)
 
 

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Deepak
Manohar
Sent: Wednesday, October 05, 2005 2:44 PM
To: Ted Kaczmarek
Cc: Preethi M; Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: [Xen-devel] Assigning a physical device to
aparticular domain

In the current Xen 3.0 unstable you cannot directly assign PCI devices
to domUs. It is possible with Xen 2.0.

In grub append this to your Xen line physdev_dom0_hide=(%02x:%02x.%1x)


deepak



On 10/5/05, Ted Kaczmarek < tedkaz@xxxxxxxxxxxxx> wrote:
> On Tue, 2005-10-04 at 18:04 -0600, Preethi M wrote:
> > Hi,
> >
> > If i want to assign a particular resource (a physical device) only
> > to a particular domain other than domain 0, is it possible? If so,
> > can you please tell me how can i do that?
> > For example if i want to assign /dev/sda only to domain 1 and even
> > domain 0 should not know about the device, in other words, the
> > backend driver for that device should be in domain 1 and not in
> > domain 0, is this scenario a valid one?.
> >
> > Thanks,
> > Pree.
> > _______________________________________________
>
> Sure would be really nice to be able to :-)
>
> Ted
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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



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


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