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] map domU pages in dom0

To: david <david_n@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] map domU pages in dom0
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Sun, 03 Apr 2011 20:55:50 +0100
Cc:
Delivery-date: Sun, 03 Apr 2011 12:56:45 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=73bZv5gn3tqKctA53uJi/nS5sgYisNkwtcjsCwlzssY=; b=VWnAn1emBGZPWgWBgV3t8LlKPVilfuZF1XtKR/AWx2iU+3RQPF0TPo0tTjR1bZrCON hT5vkKM3rhK4SFQlcnJ80twLALpaHQUHZgqN6gKjE/lJhfbAS5FUIQ2uRC/2vO9VzNVw XZNDbbJ8erFKb+obIZtsErC5p6+jqVZpSs2Wo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=iUwh45AdOloWSdCaE+ec5vtojUPaM2s8HguJg8tTdyQmzvjJhDm1Hk0zgYtBkhig59 vpDK0EpxpV6lpchGkBThYd7VTiRH5x3srRgpXlAXk/lMwFnRn+wXbs3dRWhoHnmtEDlq /XPAGiai3Xs2z6L8OtJ0F6bIDZvTHeqRLoFP0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D98CDA3.1020509@xxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvyOSGKj3h0P7WJSEOcsMiwEv8/1g==
Thread-topic: [Xen-devel] map domU pages in dom0
User-agent: Microsoft-Entourage/12.28.0.101117
On 03/04/2011 20:42, "david" <david_n@xxxxxx> wrote:

> Hi there,
> 
> it is possible to map memory pages from domU domains in dom0 writeable
> in an easy way?

Link with libxenctrl, #include <xenctrl.h> and use one of
xc_map_foreign_{range,pages,bulk}(). You can find examples of their use
throughout the tools/ directory in xen-unstable.hg repository.

 -- Keir

> greets,
> david
> 
> _______________________________________________
> 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>