WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pv_ops reassigndev for pci passthrough

On Wed, Dec 23, 2009 at 09:37:48PM +0000, Keir Fraser wrote:
> On 23/12/2009 20:10, "Michael D Labriola" <mlabriol@xxxxxxxx> wrote:
> 
> >> New option is reassign_resources. Used like:
> >> guestdev=00:01.0,00:02.0 reassign_resources
> >> Where you use guestdev= instead of pciback.hide=
> > 
> > Can this be done somehow post boot?

As a hack you can eliminate the check in the Xend python code for this
and see how far you can go. Just remember that it is a hack :-)

> > 
> > Is it in Jeremy's xen/master?  It doesn't seem to be working in my pull
> > from 2 hours ago...
> 
> This is in the 2.6.18 tree. It may be that nothing like this is in the
> pv_ops tree.

I had not ported it over. My thought was to write code in the pciback code
that would do this automatically (if BARs are found to be not BAR aligned).

Thought I am unsure of why this was not explored - are there any bad technical
reasons to make BARs page-aligned after the device has been enabled (and then
disabled)?

I am taking aside the Linux kernel resources structs (request_resource
and its friends), which probabally will throw a fit.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel