Hans-Christian Armingeon
2006-Mar-21 18:23 UTC
[Xen-users] driver domains / PCI passthru on amd64
Hi, are driver domains supported with xen on amd64? I read some weeks ago, that it is marked x86 specific, even if it would work on amd64, too. When I append pciback.hide=, it doesn''t have any effect. Can somebody tell me, what''s going on? Johnny _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
David Goodlad
2006-Mar-22 07:16 UTC
Re: [Xen-users] driver domains / PCI passthru on amd64
Hi Johnny I am running an x86_64 system here and pci passthrough does seem to work for paravirtualized guests. You won''t notice any effect in your dom0 (ie: it will still show up in lspci). However, if you check your dmesg, you will notice a message like ''pciback: grabbing device nn:nn.n''. This means that the pci backend driver has claimed ownership of your device, denying other drivers access, and ensuring that it can be passed off to a domU when needed. Hope that helps! Dave On 3/21/06, Hans-Christian Armingeon <johnny@wh-netz.de> wrote:> Hi, > > are driver domains supported with xen on amd64? I read some weeks ago, that it is marked x86 specific, even if it would work on amd64, too. > > When I append pciback.hide=, it doesn''t have any effect. > > Can somebody tell me, what''s going on? > > Johnny > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Dave Goodlad dgoodlad@gmail.com or dave@goodlad.ca http://david.goodlad.ca/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hans-Christian Armingeon
2006-Mar-22 08:03 UTC
[Xen-devel] Re: [Xen-users] driver domains / PCI passthru on amd64
Am Mittwoch, 22. März 2006 08:16 schrieb David Goodlad:> Hi Johnny > > I am running an x86_64 system here and pci passthrough does seem to > work for paravirtualized guests. You won''t notice any effect in your > dom0 (ie: it will still show up in lspci). However, if you check yourI wondered, that lspci showed me the devices. I searched for a message lieke "Hiding pci ... " dmesg or xm dmesg, and didn''t find such a line.> dmesg, you will notice a message like ''pciback: grabbing device > nn:nn.n''. This means that the pci backend driver has claimed > ownership of your device, denying other drivers access, and ensuring > that it can be passed off to a domU when needed. > > Hope that helps!Thank you. What PCI Backend Mode should I use? Virtual PCI or Passthrough? Does it make an effect other than resorting the devices? Johnny> Dave > > On 3/21/06, Hans-Christian Armingeon <johnny@wh-netz.de> wrote: > > Hi, > > > > are driver domains supported with xen on amd64? I read some weeks ago, that it is marked x86 specific, even if it would work on amd64, too. > > > > When I append pciback.hide=, it doesn''t have any effect. > > > > Can somebody tell me, what''s going on? > > > > Johnny > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > -- > Dave Goodlad > dgoodlad@gmail.com or dave@goodlad.ca > http://david.goodlad.ca/ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- jabber:johnny@wh-netz.de icq:236971856 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
David Goodlad
2006-Mar-22 16:06 UTC
Re: [Xen-users] driver domains / PCI passthru on amd64
On 3/22/06, Hans-Christian Armingeon <johnny@wh-netz.de> wrote:> > What PCI Backend Mode should I use? > Virtual PCI or Passthrough? > > Does it make an effect other than resorting the devices?AFAIK, either one should work. However, I am not an expert, so don''t take my word for it :) I do know that Passthrough mode was what I had selected when it was working for me here, so at the very least that one works. Dave -- Dave Goodlad dgoodlad@gmail.com or dave@goodlad.ca http://david.goodlad.ca/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ryan
2006-Mar-22 21:09 UTC
Re: [Xen-devel] Re: [Xen-users] driver domains / PCI passthru on amd64
On Wed, 2006-03-22 at 09:03 +0100, Hans-Christian Armingeon wrote:> What PCI Backend Mode should I use? > Virtual PCI or Passthrough? > > Does it make an effect other than resorting the devices? >The only effect is the slot numbering of the devices in your domU ("resorting the devices" as you call it). Virtual PCI renumbers everything to bus 0 while passthrough mode leaves them at their real slot numbers. Passthrough *may* be required for certain device drivers which look for devices at certain slot locations (but I''ve not seen this in practice). Ryan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users