[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Frame type pinning: add support for PGT_none

  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Clark, Christopher W" <christopher.w.clark@xxxxxxxxx>
  • Date: Thu, 28 Jul 2005 13:31:57 -0700
  • Delivery-date: Thu, 28 Jul 2005 20:30:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcWTs2Y+Aak8OA4LQCWxUWe1KBvPpA==
  • Thread-topic: [PATCH] Frame type pinning: add support for PGT_none

Xen provides a facility to guest kernels to 'pin' frames to a specific
type, where the type indicates the frame contents, distinguishing page
tables from writable pages. The ability to pin a page as a readonly
frame -- and hence prevent any writable pagetable mappings being made to
it -- has been omitted, and this is remedied by this patch.

Also included is an example of use: a linux kernel parameter is added to
enable a guest to pin the frames containing the system call table and
zero page as readonly, to prevent subsequent writes to these frames.

Signed-off-by: Christopher Clark

Attachment: pinro.diff
Description: pinro.diff

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.