|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] can xc_translate_foreign_address() always work for kernel va
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] can xc_translate_foreign_address() always work for kernel va under x86_64 PV?,
weiming <=
|
|
|
|
|