[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 0/3] introduce XENMEM_get_dma_buf and XENMEM_put_dma_buf
Hi all, this patch series introduces two new hypercalls to allow autotranslate guests to allocate a contiguous buffer in machine addresses. The XENMEM_get_dma_buf returns the mfns and makes sure to pin the pages so that the hypervisor won't change their p2m mappings while in use. XENMEM_put_dma_buf simply unpins the pages. Cheers, Stefano Changes in v2: - actually don't print the warning more than once. Changes in v3: - implement guest_physmap_pin_range and guest_physmap_unpin_range on ARM; - implement XENMEM_put_dma_buf. Stefano Stabellini (3): xen/arm: implement steal_page xen: implement guest_physmap_(un)pin_range xen: introduce XENMEM_get_dma_buf and XENMEM_put_dma_buf xen/arch/arm/mm.c | 43 ++++++++++++++ xen/arch/arm/p2m.c | 131 +++++++++++++++++++++++++++++++++++++++++++ xen/common/memory.c | 73 +++++++++++++++++++++++- xen/include/asm-arm/mm.h | 4 + xen/include/asm-arm/page.h | 6 ++- xen/include/asm-x86/p2m.h | 12 ++++ xen/include/public/memory.h | 64 +++++++++++++++++++++ 7 files changed, 329 insertions(+), 4 deletions(-) git://xenbits.xen.org/people/sstabellini/xen-unstable.git get_dma_buf_3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |