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 I use xc_map_foreign_range() on a paused domain?

To: Randy Thelen <rthelen@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Can I use xc_map_foreign_range() on a paused domain?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 24 Oct 2006 20:24:32 +0100
Delivery-date: Tue, 24 Oct 2006 12:24:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <016461EB-F145-415D-8EE6-6D9E2B5C7A9E@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb3oggkRpq6/2OVEdusTQAKle7CWA==
Thread-topic: [Xen-devel] Can I use xc_map_foreign_range() on a paused domain?
User-agent: Microsoft-Entourage/11.2.5.060620


On 24/10/06 7:33 pm, "Randy Thelen" <rthelen@xxxxxxxxxx> wrote:

> I've written a pretty simple program to peer into a guest domain and
> I'm getting an error.  I'm wondering what the explanation is and I'm
> hoping one of you can help.  Here's my program which I wrote in xen-
> unstable/tools/libxc/ as test.c and linked against the libxenctrl.a:

You specifically chose a page-table page. You cannot map that for write
access, even in domain 0. If you try to map it read-only, the mapping should
succeed.

 -- Keir



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

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