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

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

 


Rackspace

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