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

Re: [Xen-devel] [RFC + Queries] Flow of PCI passthrough in ARM



On Wed, 2014-10-08 at 19:17 +0530, manish jaggi wrote:
> On 8 October 2014 19:15, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Wed, 2014-10-08 at 19:07 +0530, manish jaggi wrote:
> >> Thanks for replying. As detailed in this thread, I need to create a
> >> hypercall that would send the following information to Xen at the time
> >> of PCI attach
> >> { sbdf , domU sbdf, domainId }.
> >> I am not able to find a way to get the domU sbdf from dom0 at the time
> >> of pci-attach.
> >
> > I think it would need to be done by the pciback driver in the dom0
> > kernel, which AFAIK is the thing which consistently knows both physical
> > and virtual sbdf for a given assigned device.
> >
> > Ian.
> >
> Correct, can you point out which data structure holds the domU sbdf
> corresponding to the actual sbdf in pciback.

Not off the top of my head, I suggest looking at the existing handling
of the pci op messages, since they will be doing a similar looking.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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