Preethi M
2005-Oct-05 21:26 UTC
Re: FW: [Xen-users] Re: [Xen-devel] Assigning a physical device to aparticular domain
Thanks a lot. Can you please tell me, what does this %02x mean?? =(%02x:%02x.%1x) -----Original Message-----> From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Deepak > Manohar > Sent: Wednesday, October 05, 2005 2:44 PM > To: Ted Kaczmarek > Cc: Preethi M; Xen-users@lists.xensource.com > 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@optonline.net> 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sharath Babu
2005-Oct-06 16:14 UTC
Re: FW: [Xen-users] Re: [Xen-devel] Assigning a physical device to aparticular domain
(%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@gmail.com> wrote:> > Thanks a lot. Can you please tell me, what does this %02x mean?? > =(%02x:%02x.%1x) > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Deepak > > Manohar > > Sent: Wednesday, October 05, 2005 2:44 PM > > To: Ted Kaczmarek > > Cc: Preethi M; Xen-users@lists.xensource.com > > 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@optonline.net> 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@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users