|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Read value of CR3 from DomU VCPU
Hi, I intend to map the DomU kernel memory to the Dom0 using the function xc_map_foreign_range(). For this I need the machine frame number (mfn) for the page I want to map. To get the value of mfn I want to read the value of cr3 from the DomU Vcpu data structure i.e. the value of ctrlreg[3] from a vcpu_guest_context object. Also I have implemented a hypercall and wish to read the cr3 value in the hypercall handler. Can anyone share some information regarding how read the cr3 value. Any code examples would help me significantly. Thanks a lot. Regards, Jeet |
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Read value of CR3 from DomU VCPU,
Nimgaonkar, Satyajeet <=
|
|
|
|
|