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

Re: [Xen-devel] basic mfn question



>This should be an easy one.  :^)
>When two domains share a memory page via grant tables (or any other
>method for that matter), should the mfn of the page be the same in both
>domains?

The actual mfn, yes. 

>I think the answer is yes, in which case I have a bug such that:
>pfn_to_mfn( page_to_pfn( page )) gives a different value in each domain.

It's the guest's responsibility to update the p2m (and m2p) as appropriate.

Under what circumstances do you see this issue? What are the actual 
values you see? Are you sure you are using the correct 'page' in each case? 


cheers,

S.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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