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

Re: [Xen-devel] How to register a 64 bit BAR



Found it.  I am tracing through the source code now.  

Thanks,
Kelly

> -----Original Message-----
> From: Anthony PERARD [mailto:anthony.perard@xxxxxxxxxx]
> Sent: Wednesday, September 24, 2014 9:05 AM
> To: Zytaruk, Kelly
> Cc: xen-devel@xxxxxxxxxxxxx
> Subject: Re: [Xen-devel] How to register a 64 bit BAR
> 
> On Wed, Sep 24, 2014 at 12:47:01PM +0000, Zytaruk, Kelly wrote:
> > Thanks Anthony, you have saved me hours of searching through the source
> code.
> >
> > I am working with Xen 4.2 qemu-traditional.  I checked the source code
> > for upstream xen (qemu-xen-dir) and I didn't even find any support for
> > the pci_register_io_region() function.  Apparently BAR remapping
> > callbacks aren't supported in this version.  This is most unfortunate
> > :-(
> 
> It is still supported, can't really do anything without it... It just a 
> different
> function name, and probably a bit more complicated to use.
> 
> Look for pci_register_bar() and maybe a example of usage like in
> xen_platform.c. Callbacks are set up through a things called Memory Region.
> 
> Hope that will help.
> 
> --
> Anthony PERARD

_______________________________________________
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®.