On Wed, 15 Jul 2015, Oleksandr Dmytryshyn wrote:
> Hi, Ian. Thank You for the response.
> 
> > Look at how the balloon driver does it, the hypercalls you want are
> > XENMEM_(increase|decrease)_reservation.
> I'll try to use those hypercalls.

In the modern Linux kernels, you just need to call gnttab_alloc_pages
(see drivers/xen/grant-table.c:gnttab_alloc_pages).

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to