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 pagetable entries


Please don't take discussions off-list.  Cc'ing xen-devel again. 

At 12:58 +0100 on 20 Jun (1308574721), Srujan Kotikela wrote:
> Hi,
> Thanks for the prompt reply. Can you tell me how to achieve the same
> in PV guests?

In PV guests you could try turning on shadow paging and enforcing the same
read-only idea (but PV guests don't have a p2m table so that will be
messy; you might be able to hook gmfn_to_mfn?).  Or you could update the
PV pagetable interface to require the guest to make the PTE read-only
(by hooking adjust_guest_l1e or similar).  That would have much better
performance but might need changes to the guest kernel to cope with its
PTEs being read-only. 

> Also is there any standard/official documentation for
> Xen's memory management?

Not really, no.  The basic ideas are laid out in the original Xen papers
and in some of the Xen books that have been published but there's no 
technical documentation for the code except what's in comments and HG
log entries. 


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

Xen-devel mailing list

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