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

[Xen-devel] Re: [PATCH 2 of 3] libxl: Add support for passing in the machine's E820 for PCI passthrough



On Tue, 2011-05-17 at 17:00 +0100, Konrad Rzeszutek Wilk wrote:
> On Tue, May 17, 2011 at 04:10:54PM +0100, Ian Jackson wrote:
> > Sorry for the delay replying.  But:
> > 
> > Konrad Rzeszutek Wilk writes ("[PATCH 2 of 3] libxl: Add support for 
> > passing in the machine's E820 for PCI passthrough"):
> > > diff -r b6af9b428bb1 -r ba218fa1a48e tools/libxl/xl_cmdimpl.c
> > ...
> > > @@ -994,6 +995,8 @@ skip_vfb:
> > >              if (!libxl_device_pci_parse_bdf(ctx, pcidev, buf))
> > >                  d_config->num_pcidevs++;
> > >          }
> > > +        if (d_config->num_pcidevs && !c_info->hvm)
> > > +          b_info->u.pv.machine_e820 = true;
> > >      }
> > 
> > This doesn't seem to provide a way to force this behaviour on, which
> > is (I assume) necessary if PCI devices are to be hotplugged later ?
> 
> Right. We never resolved that question. One idea was that if you had
> 'pci=[]' it would trigger this. But that just seemed wrong.

The e820_host option which you just posted suits this purpose (so long
as we decide to make it permanent), doesn't it?

Ian.



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.