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

[Xen-devel] Read-only iomem page mapping

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Read-only iomem page mapping
From: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
Date: Thu, 10 Aug 2006 09:45:54 +0100
Delivery-date: Thu, 10 Aug 2006 01:46:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
I would like to give a domU some read-only access to an iomem page so
that it can access some hardware registers directly in a relatively
secure manner.  I can get read-write access using the
DOM0_IOMEM_PERMISSION hypervisor op, and then ioremap at domU, but
neither of these present the option of it being read only.

It should be straightforward, and possibly useful for others as well, to
extend these to have that option, but though I'd check that there isn't
some other way of achieving this already.

Thanks

Kieran


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

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