I need to let some domU to access to some PCI card installed on the dom0. The domUs are using the same kernel of the dom0 (2.6.18-3-xen-686) and Xen was installed with apt-get on Debian Etch. The hardware I need to access on the domUs are a DAT drive, a DVB-s SAT TV card, an AVM ISDN card, and the dom0 recognised all of these devices correctly and is using the correct kernel drivers. Can I let one domU to access to one PCI card, and another domU to another one? Could you help me, please? Thank you very much! Bye Luca. _________________________________________________________________ Push the button! Crea il tuo blog e fatti vedere... http://pushthebutton2006.spaces.live.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Luca, you can do with PCI devices, if the DVB-S and AVM ISDN are pci this should work, i´ve done this myself. Just hide the devices in dom0 and give the domU´s the devices. ( this is explained in the xen manuals, keyword pciback.hide)> Can I let one domU to access to one PCI card, and another domU to another > one?yes, just assign the individual device to the do domU in the cfg file. Cant say anything about the dat drive. How is the dat-drive connected ? Cheers Frank --On Montag, 26. Februar 2007 20:09 +0100 Luca Lucchesi <shacky83@hotmail.it> wrote:> I need to let some domU to access to some PCI card installed on the dom0. > The domUs are using the same kernel of the dom0 (2.6.18-3-xen-686) and > Xen was installed with apt-get on Debian Etch. > The hardware I need to access on the domUs are a DAT drive, a DVB-s SAT > TV card, an AVM ISDN card, and the dom0 recognised all of these devices > correctly and is using the correct kernel drivers. > Can I let one domU to access to one PCI card, and another domU to another > one? > > Could you help me, please? > > Thank you very much!_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/26/07, Luca Lucchesi <shacky83@hotmail.it> wrote:> I need to let some domU to access to some PCI card installed on the dom0. > The domUs are using the same kernel of the dom0 (2.6.18-3-xen-686) and Xen > was installed with apt-get on Debian Etch. > The hardware I need to access on the domUs are a DAT drive, a DVB-s SAT TV > card, an AVM ISDN card, and the dom0 recognised all of these devices > correctly and is using the correct kernel drivers. > Can I let one domU to access to one PCI card, and another domU to another > one?http://tx.downloads.xensource.com/downloads/docs/user http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_module?highlight=%28pci%29 http://wiki.xensource.com/xenwiki/XenFaq?highlight=%28pci%29 jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
What I''d like to see is some documentation describing the difference between hiding PCI devices in Xen2 and Xen3 and how to upgrade from Xen2 to Xen3 on a host which hides PCI devices in dom0. I have a firewall/router which uses Xen2 at the moment and I''d like to be able to upgrade it to Xen3. However whenever I''ve tried to set up a Xen3 box on the bench to hide PCI devices so far it has not even come close to working... frank mueller wrote:> > Luca, > > you can do with PCI devices, if the DVB-S and AVM ISDN are pci this > should work, > i´ve done this myself. Just hide the devices in dom0 and give the domU´s > the devices. > > ( this is explained in the xen manuals, keyword pciback.hide) > >> Can I let one domU to access to one PCI card, and another domU to another >> one? > > yes, just assign the individual device to the do domU in the cfg file. > > Cant say anything about the dat drive. How is the dat-drive connected ? > > Cheers > > Frank > > > --On Montag, 26. Februar 2007 20:09 +0100 Luca Lucchesi > <shacky83@hotmail.it> wrote: > >> I need to let some domU to access to some PCI card installed on the dom0. >> The domUs are using the same kernel of the dom0 (2.6.18-3-xen-686) and >> Xen was installed with apt-get on Debian Etch. >> The hardware I need to access on the domUs are a DAT drive, a DVB-s SAT >> TV card, an AVM ISDN card, and the dom0 recognised all of these devices >> correctly and is using the correct kernel drivers. >> Can I let one domU to access to one PCI card, and another domU to another >> one? >> >> Could you help me, please? >> >> Thank you very much! > > > > _______________________________________________ > 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
>( this is explained in the xen manuals, keyword pciback.hide)Thank you very much!>Cant say anything about the dat drive. How is the dat-drive connected ?The DAT drive is connected with a SCSI controller, so I think I have to let the domU to access to the SCSI controller. This is not my case, but what about if I want to let one domU to access to one SCSI drive and another domU to access to another SCSI drive on the same SCSI controller? Luca. _________________________________________________________________ Sudoku, Calcio, Duel Prova i nuovi giochi di Messenger! http://get.live.com/messenger/features#ID0EKG _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Luca Lucchesi > Sent: 28 February 2007 00:33 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] domU hardware access > > >( this is explained in the xen manuals, keyword pciback.hide) > > Thank you very much! > > >Cant say anything about the dat drive. How is the dat-drive > connected ? > > The DAT drive is connected with a SCSI controller, so I think > I have to let > the domU to access to the SCSI controller. > This is not my case, but what about if I want to let one domU > to access to > one SCSI drive and another domU to access to another SCSI > drive on the same > SCSI controller?That''s not allowed - each PCI device must belong as a whole to one domain only. A SCSI controller is normally a single PCI device [you find out by using lspci - if you have one card and there shows up two devices of that type, then it''s two PCI devices, and you could divide the card into two devices]. The reason you can''t share devices between domains is that there''s no guarantee of atomicity, and most PCI devices have complex command/data correlations, such as you write one place to say "Here''s the buffer" and some other place to say "here''s where I want it on the LUN" and someplace else "I want to write the buffer". Each of those locations to write need to be filled in by one domain and the command completed before another domain could possibly access the same PCI device. Just imagine what happens if one domain says "Here''s the buffer", "place at LUN" - another domain gets scheduled in and decides to say "Here''s my buffer", "place at LUN", "Go Read it" - then schedule back to first domain who says "Go write it" - now we''ve overwritten something of the other domains data, completely at random. Since there''s no way to make sure that the domains don''t collide like descibed above, we can''t allow the same device to be shared (other than completely rewriting the driver - and then we''re probably better off with the PV split driver model anyways). -- Mats> > Luca. > > _________________________________________________________________ > Sudoku, Calcio, Duel... Prova i nuovi giochi di Messenger! > http://get.live.com/messenger/features#ID0EKG > > > _______________________________________________ > 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