All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Michael D Labriola <mlabriol@gdeb.com>,
	Chris <tknchris@gmail.com>,
	"xen-devel-bounces@lists.xensource.com"
	<xen-devel-bounces@lists.xensource.com>
Subject: Re: pv_ops reassigndev for pci passthrough
Date: Mon, 28 Dec 2009 09:27:26 -0500	[thread overview]
Message-ID: <20091228142726.GA16375@phenom.dumpdata.com> (raw)
In-Reply-To: <C7583E2C.52D2%keir.fraser@eu.citrix.com>

On Wed, Dec 23, 2009 at 09:37:48PM +0000, Keir Fraser wrote:
> On 23/12/2009 20:10, "Michael D Labriola" <mlabriol@gdeb.com> 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.

  reply	other threads:[~2009-12-28 14:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 17:42 pv_ops reassigndev for pci passthrough Michael D Labriola
2009-12-23 18:28 ` Chris
2009-12-23 19:03 ` [Xen-devel] " Keir Fraser
2009-12-23 20:10   ` Michael D Labriola
2009-12-23 21:37     ` Keir Fraser
2009-12-28 14:27       ` Konrad Rzeszutek Wilk [this message]
2009-12-28 15:22         ` Michael D Labriola
2010-01-29 22:46           ` Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091228142726.GA16375@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=mlabriol@gdeb.com \
    --cc=tknchris@gmail.com \
    --cc=xen-devel-bounces@lists.xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.