[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] about cr3 register



Hi
I am working on memory management in xen. I encounter a problem that I hope you can help me to solve it. I modified the struct mmu_update in xen and linux source code. I add two fields cr3 and addr which respectively contains the current cr3 value and the current address of the process associated with the pte to be updated. the struct mmu_update is sent to the hyervisor via hypercall HYPERVISOR_do_mmu_update.

In the handler of this hypercall (I mean do_mmu_update) when I read the value of cr3 via the method read_cr3 it is different from the value I stored before in the struct mmu_update. I wonder why?


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.