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

RE: [Xen-devel] Grant Table Hyper Calls For Sharing Memory

On Wed, 2008-08-20 at 16:17 +0800, Kumar, Venkat wrote:
> First of all, we require a hypercall to setup domain's grant table,
> HYPERVISOR_grant_table_op(GNTTABOP_setup_table, &setup, 1);
> As you said that sharing a page (to be more precise granting foreign access 
> to a page I think) will be done by setting permissions in the grant table's 
> grant reference structure based on the grant reference number.
> But what is the use of just granting access unless there is a way to map that 
> page from a foreign domain?

A PV domain will. Actually one may argue that this is a predominant
usage pattern.

> My assumption on sharing a page includes offering a page and mapping the page.
> Correct me if I am wrong.

Sorry, I don't know much enough the hvm core. Maybe someone else finds
the comment. 

But I'd guess there's probably more elegant (from a pure HVM
perspective) ways to plug this into the machine. E.g. PCI memory. If
that's not how it presently works, maybe someone should do it.. ;)


Daniel Stodden
LRR     -      Lehrstuhl fÃr Rechnertechnik und Rechnerorganisation
Institut fÃr Informatik der TU MÃnchen             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B

Xen-devel mailing list



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