weiming
2008-Mar-20 12:20 UTC
[Xen-devel] can xc_translate_foreign_address() always work for kernel va under x86_64 PV?
Hi, In xc_translate_foreign_address(), the page directory address comes from vcpu''s cr3. when the domains is running a user application, the cr3 should contain the app''s page table. Under x86_64 PV, kernel and user space are both under ring 3 and protection is implemented via page protection, which means app''s page table has no kernel space mappings. So my question is: given a kernel''s virtual address, can this function always return a valid mfn? Thanks, Weiming _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel