[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [Xen-users] Re: [Xen-devel] Assigning a physical device to aparticular domain


  • To: Preethi M <preethi.techquery@xxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

(%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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.