From: Kieran Mansley Subject: Read-only iomem page mapping Date: Thu, 10 Aug 2006 09:45:54 +0100 Message-ID: <1155199554.4054.6.camel@moonstone.uk.level5networks.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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