All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"keir.fraser@eu.citrix.com" <keir.fraser@eu.citrix.com>
Subject: Re: [PATCH 0 of 5] Patches for PCI passthrough with modified E820.
Date: Fri, 8 Apr 2011 09:24:51 -0400	[thread overview]
Message-ID: <20110408132451.GD6189@dumpdata.com> (raw)
In-Reply-To: <1302252124.27835.66.camel@zakaz.uk.xensource.com>

On Fri, Apr 08, 2011 at 09:42:04AM +0100, Ian Campbell wrote:
> On Thu, 2011-04-07 at 21:25 +0100, Konrad Rzeszutek Wilk wrote:
> 
> > This set of RFC patches allows a PV domain to see the machine's
> > E820 and figure out where the "PCI I/O" gap is and match it with the
> > reality.
> 
> Does the domain builder obey this memory map at all or is it a PV guests
> responsibility to take the linear p2m allocation it starts with a move
> stuff around to fit the map?

The PV guest is responsible.
> 
> > To use this patchset, the guest config file has to have the parameter
> > 'pci_hole=1' enabled (hmm, any ideas for a better name?) 
> 
> Is there any harm in just doing this for any guest configuration which
> has a "pci" option specified? (including the empty list "pci=[]" to
> handle guests which only want hotplug capabilities not an initial set of
> devices).

Good idea. Will key of from both of them (since you can do hotplug PCI
without having the 'pci' option present).
> 
> Or could we even go so far as to consider always doing this
> unconditionally?

Tempting. I would need to test the other older kernels to make sure I am
not breaking anything.
> 
> Will older pvops and/or classic-Xen kernels or other PV OSes misbehave

Older pvops work. Will test the 2.6.32, as the earliest one I tested
was the 2.6.36 and that worked quite well.

> if we do either of these? is having a default-on option which these
> users need to force off better or worse than a default-off option which
> the opposite set of people need to enable?

No idea. I just don't want to cause regressions so choose the
more conservative path... but that has the pitfalls of bit-rotting.

Let me do some more testing and see what happens.
> 
> Ian.

      reply	other threads:[~2011-04-08 13:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 20:25 [PATCH 0 of 5] Patches for PCI passthrough with modified E820 Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 1 of 5] tools: Add xc_domain_set_memory_map and xc_get_machine_memory_map calls Konrad Rzeszutek Wilk
2011-04-08  8:18   ` Ian Campbell
2011-04-08 13:19     ` Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 2 of 5] x86: make the pv-only e820 array be dynamic Konrad Rzeszutek Wilk
2011-04-08  8:22   ` Ian Campbell
2011-04-08 13:21     ` Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 3 of 5] x86: adjust the size of the e820 for pv guest to " Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 4 of 5] libxl: Add support for passing in the machine's E820 for PCI passthrough Konrad Rzeszutek Wilk
2011-04-08  8:36   ` Ian Campbell
2011-04-08 10:56     ` Ian Jackson
2011-04-08 13:35       ` Konrad Rzeszutek Wilk
2011-04-08 13:55         ` Ian Campbell
2011-04-08 14:09           ` Tim Deegan
2011-04-08 14:17             ` Ian Campbell
2011-04-08 14:25               ` Tim Deegan
2011-04-08 14:33                 ` Ian Campbell
2011-04-08 15:00                   ` Konrad Rzeszutek Wilk
2011-04-08 14:34                 ` Konrad Rzeszutek Wilk
2011-04-08 14:42                   ` Ian Campbell
2011-04-08 14:54                     ` Konrad Rzeszutek Wilk
2011-04-08 16:01                 ` Ian Jackson
2011-04-08 13:33     ` Konrad Rzeszutek Wilk
2011-04-08 14:00       ` Ian Campbell
2011-04-07 20:25 ` [PATCH 5 of 5] libxl: Convert E820_UNUSABLE and E820_RAM to E820_UNUSABLE as appropriate Konrad Rzeszutek Wilk
2011-04-08  8:42 ` [PATCH 0 of 5] Patches for PCI passthrough with modified E820 Ian Campbell
2011-04-08 13:24   ` Konrad Rzeszutek Wilk [this message]

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=20110408132451.GD6189@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=keir.fraser@eu.citrix.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.