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 locking of Guest Memory pages

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] Read-only locking of Guest Memory pages
From: Srujan Kotikela <ksrujandas@xxxxxxxxx>
Date: Tue, 14 Jun 2011 11:38:13 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Jun 2011 09:39:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=rk2Mx9x24Nnyf2MLm4h5lSyy3HIyNha9jCRs/Ja6xs4=; b=jVti8lP3oij/BV0LqmJ6B/fZ/9uWy5vJt2jbNUVNvrnCWOcD38xVYd335ACcgXmYTo uOVDP0NnumxI39Ulpml/FBpQ4VIil9HWccVrTfFH9XigPKnN1Jvy0E/WHdji+jNkIOWb oRBnySQ0Bxajcd+8f7iRT9Ynl9dWmuX7dticA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=v2p5UHetj4RCCykU77rBxRV6cMfBbLxTM8BRMrRKmyZkB/MAXCywHS205JTAoeI/n2 KfbuRv8DbMPEEXqzbwnIWD+rMXzD/h61He3gGxOugfWcJvOHhGZ/qqpukn2bMl0yvv6Y YIEwFN3Xp4JPRZNgftc9jhQDh4N38PtVGwZwM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110614081445.GB11702@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTinp48h5866AcJXmRcmLK1XZ+L8Zpg@xxxxxxxxxxxxxx> <20110614081445.GB11702@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tim,

I am trying to implement a secure architecture where a process' (selected) memory pages have to be set as read-only. The process will send the virtual address of pages required (through a custom hypercall) to be set read-only. I need to compute the physical address of the pages and set them read-only.

Srujan D. Kotikela

On Tue, Jun 14, 2011 at 3:14 AM, Tim Deegan <Tim.Deegan@xxxxxxxxxx> wrote:

At 14:52 -0500 on 13 Jun (1307976734), Srujan Kotikela wrote:
> Does Xen provide any mechanism to set read-only access/lock on guest's
> pages?

Yes, Xen has lots of code that makes guest memory read-only for various
reasons, and one of them might be suitable.  What's your overall goal?

(BTW, you might want to read



Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

Xen-devel mailing list