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

Re: [Xen-devel] Sharing grant_table pages between 2 miniOS

On Mon, 2007-05-14 at 20:34 -0700, Lamia M. Youseff wrote:
> Dear All,
> I am doing a small experiment with grant table to share 4 pages of 
> memory between 2 miniOS, but have not been successful. For some reason, 
> my GNTTABOP_map_grant_ref returns -1

Is it possible that the grant_operation_permitted() call during the
map_grant_ref operation is failing?  The code in question is this (from

 * Until TLB flushing issues are sorted out we consider it unsafe for
 * domains with no hardware-access privileges to perform grant
 * operations.
#define grant_operation_permitted(d)                    \

If this is the case, giving the granting domain some iomem capability
should allow you to do what you want.  I'm not sure what the TLB
flushing issues are, or what the plan is to get a proper solution to


Xen-devel mailing list



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