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/
Home Products Support Community News


Re: [Xen-devel] Read-only iomem page mapping

To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Read-only iomem page mapping
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 10 Aug 2006 09:57:54 +0100
Delivery-date: Thu, 10 Aug 2006 01:58:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1155199554.4054.6.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: Aca8WxEBT3t+3ihOEduHEgAKle7CWA==
Thread-topic: [Xen-devel] Read-only iomem page mapping
User-agent: Microsoft-Entourage/

On 10/8/06 9:45 am, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> 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.

Adding read-only iomem and ioport rangesets would be nice.

 -- Keir

Xen-devel mailing list

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