WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Can a DomU map memory of Dom0? by some authorization?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Can a DomU map memory of Dom0? by some authorization?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 28 Jul 2005 18:32:25 +0100
Cc: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Delivery-date: Thu, 28 Jul 2005 17:31:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0507180144070.28868@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.LNX.4.58.0507180144070.28868@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.1
> If so, how to do that? Can grant tabl be used to achieve this goal?

This should be possible using grant tables: dom0 can notify Xen that it wants 
to grant foreign access to one of its pages, then pass the grant reference to 
the domU.  The domU can, in turn, present this reference to Xen as a 
capability allowing it to map that page.

Be aware that this is not the "normal" way to do things, though - it is more 
usual for dom0 to map memory provided by guests.  The only exception to this 
I know of is in my work on the universal page cache, where domUs are 
permitted to access (portions of) dom0's page cache directly.

Cheers,
Mark

> Many thanks!
>
> xin
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>