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

Re: [Xen-devel] IOMMU API in Xen to assign a PCI Device MMIO range for a Domain



On Wed, 27 Aug 2014, manish jaggi wrote:
> Hi Stefano / Julien,
> 
> I am trying to assign a PCI device to domU. This would mean creating a
> mapping of BAR region for DomU. As of now there is no support of PCI
> pass through for ARM. The IOMMU ops provide the support for assigning
> a device tree dev to a domain which is not the case here.
> 
> What if I have to do something like this
> 
> xl pci-attach <dom-id> <bdf>
> which would read the BAR and send a hyper-call to Xen to map that
> region to the dom-id.
> 
> Is there anything exists for X86 which can be used ?

Almost everything can be reused and actually the tools part (xl,libxl)
is already arch-independent.


> Is this approach fine ?

Yes, on ARM we should be supporting the xl pci-* commands and
pci= in the vm config file. See man xl and man xl.cfg.

_______________________________________________
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®.