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] [PATCH 4 of 5] libxl: Add support for passing in the mac

To: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 4 of 5] libxl: Add support for passing in the machine's E820 for PCI passthrough
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Fri, 8 Apr 2011 15:17:28 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "keir.fraser@xxxxxxxxxxxxx" <keir.fraser@xxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Fri, 08 Apr 2011 07:18:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110408140943.GK30961@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <patchbomb.1302207921@xxxxxxxxxxxxxxxxxxxxxxx> <2e464234c94cfd29a98a.1302207925@xxxxxxxxxxxxxxxxxxxxxxx> <1302251805.27835.61.camel@xxxxxxxxxxxxxxxxxxxxxx> <19870.59892.971964.403290@xxxxxxxxxxxxxxxxxxxxxxxx> <20110408133557.GF6189@xxxxxxxxxxxx> <1302270909.27835.89.camel@xxxxxxxxxxxxxxxxxxxxxx> <20110408140943.GK30961@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2011-04-08 at 15:09 +0100, Tim Deegan wrote:
> At 14:55 +0100 on 08 Apr (1302274509), Ian Campbell wrote:
> > On Fri, 2011-04-08 at 14:35 +0100, Konrad Rzeszutek Wilk wrote:
> > > On Fri, Apr 08, 2011 at 11:56:52AM +0100, Ian Jackson wrote:
> > > > Ian Campbell writes ("Re: [Xen-devel] [PATCH 4 of 5] libxl: Add support 
> > > > for passing in the machine's E820 for PCI passthrough"):
> > > > > Are we expecting that libxl users might want to modify the e820? If 
> > > > > not
> > > > > then why expose libxl_e820_alloc and libxl_e820_sanitize at all, just
> > > > > add a flag to the libxl interface which says whether or not to 
> > > > > provide a
> > > > > host-derived e820.
> > > > 
> > > > Well, also, why do we need that flag at all ?  Are we trying to do
> > > > something different with domains which might get pci passthrough ?  If
> > > 
> > > Yes. Well, it does work OK even if you are _not_ doing PCI passthrough.
> > > But the main users for this are the ones doing PCI passthrough.
> > > 
> > > > so then that's what should be specified at the libxl api, surely,
> > > > rather than some opaque "write this rune to make it work" option.
> > > 
> > > OK. If I am understanding you guys right, you are saying, latch
> > > it of the 'pci' option instead of this 'pci_hole' option.
> > 
> > ACK. For the pure-hotplug case an empty pci=[] ought to suffice to
> > trigger this functionality.
> 
> That's a _horrible_ config syntax.

fair enough. I thought it nicely represented the "has an empty PCI bus"
myself...
 
>   We should either do this for all
> guests or give it its own option (which can default to 1 for guests with
> non-empty passthrough lists if you like). 

Ack, if it's an option it should definitely default to on for non-empty
pci passthrough lists. I think we can probably get away with default on
always though and allow it to be explicitly disabled. That's really just
a case of trying on a few PV OSes and seeing how much they barf...

Ian.



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

<Prev in Thread] Current Thread [Next in Thread>