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

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1



On Thu, 11 Jun 2015, Ian Campbell wrote:
> On Thu, 2015-06-11 at 11:05 +0200, Roger Pau Monnà wrote:
> > El 10/06/15 a les 21.21, Julien Grall ha escrit:
> > >> If there is a reason for this restriction/trade off then it should be
> > >> spelled out as part of the design document, as should other such design
> > >> decisions (which would include explaining where this differs from how
> > >> things work for x86 why they must differ).
> > >
> > > On x86, for HVM the MMIO mapping is done by QEMU. I know that Roger is
> > > working on PCI passthrough for PVH. PVH is very similar to ARM guest and
> > > I expect to see a similar needs for MMIO mapping. It would be good if we
> > > can come up with a common interface.
> >
> > I've kind of left that apart in favour of the new boot ABI that we are
> > currently discussing, but IIRC the plan was to use
> > XENMEM_add_to_physmap_range by adding a new phys_map_space and the
> > physical MMIO pages would be specified in the idxs field.
>
> This sounds ok, and preferable to an entirely new hypercall.

Indeed. What would be the advantage of using XENMEM_add_to_physmap_range
over XEN_DOMCTL_memory_mapping? Would it be called by libxl or by the
guest kernel? 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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