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] access shared_info?

To: Gerd Hoffmann <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] access shared_info?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 7 Jun 2006 14:48:08 +0100
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 07 Jun 2006 06:48:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4486D496.1070905@xxxxxxx>
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: <4486D496.1070905@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 7 Jun 2006, at 14:28, Gerd Hoffmann wrote:

How can I access the shared_info page for my own domain from domU
userspace?  Seems dom0 ops are completely disabled for domUs, even for
domid == DOMID_SELF.  I need shared_info->arch.max_pfn ...

Even if you could get address of shared_info, you can't map it into user space without some kernel hacking to make that possible (/dev/mem can only map I/O memory when running on Xen).

 -- Keir


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