WARNING - OLD ARCHIVES

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

xen-devel

Re:Re:Re:Re: [Xen-devel] Questions about shadow page table.



In another word, how can page-fault handler distinguish the shadow-page-fault and non-shadow-page-fault?

When reading it's code, I skip all the code enabled only   #if SHADOW_OPTIMIZATIONS, is that ok?
Hi,

I have another question about Shadow.
If a process writes a read-only page in guest OS, how does the page-fault handler deal with it?
In sh_page_fault() [xen/arch/x86/mm/shadow/multi.c], which part deals with this case? In the label `emulate` and `not_a_shadow_fault` ?  But the points where jumps to the label `emulate` seems not to be this case (write readonly pages in guest), but seems to emulate accesses to page tables.

Thanks,
Wu



穿越地震带 纪念汶川地震一周年
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel