[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] Can I specify a physical memory region for a domU
On Wed, Sep 07, 2011 at 05:47:46PM -0700, Eric Camachat wrote:
> I am porting our drivers to XEN's PV domU (with PV PCI passthrouth), I
Use the DMA API that Linux provides (I presume that is what you meant
by PV DomU), and use the dma_alloc_coherent to set your regions.
Also pass in 'iommu=soft' on your Linux command line to enable the
Xen SWIOTLB DMA system.
> have to allocate a memory block and tell the hardware to access it.
> But the hardware can address 32-bit only, so I want dedicate a region
> of memory that below 2GB for the domU only.
Uh, don't you mean 4GB? - 32bit is up to 4GB.
> How do that in XEN?
> Xen-devel mailing list
Xen-devel mailing list