Hi, At 08:14 -0400 on 02 Jul (1435824854), Bread Cutter wrote: > /* Translate the given virtual address to the guest frame number > */ > gfn = paging_gva_to_gfn(current, domctl->va, &pfec);
This function only works for domains that have paging assistance enabled (i.e. not typically dom0). You might try using guest_get_eff_l1e() to find the PTE that maps domctl->va; that works for PV guests. There's some code in ptwr_do_page_fault() that you could start with. Cheers, Tim. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel