At 08:08 +0100 on 29 Sep (1285747691), K.C. Lee wrote:
> On Mon, Sep 27, 2010 at 5:51 PM, Tim Deegan
> <Tim.Deegan@xxxxxxxxxx<mailto:Tim.Deegan@xxxxxxxxxx>> wrote:
> At 04:35 +0100 on 27 Sep (1285562121), K.C. Lee wrote:
> I'm trying to figure out what xen does when a page fault happened so I
> trace sh_page_fault() and then have many questions about what these
> functions do and how can I use them.
I hope you're not trying to understand the shadow pagetable code jsut
for fun! What is it that you want to do with it? I'm not going to try
to explain the entire pagefault path but if you're trying to add a
feature then maybe I can help you with it - and with sending your
changes upstream when they're done, of course!
> Would you please show me what paging_gva_to_gfn(), guest_walk_tables()
> and accumulate_guest_flags() do? Is there any references to these functions?
I admit that the shadow code is often, let's say, opaque; but those
functions have block comments right above where they're declared.
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, XenServer Engineering
Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
Xen-devel mailing list