[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] How hypervisor accesses machine address
Hi, all The Definitive Guide to the Xen Hypervisor writes: "The hypervisor already has all of the pages in physical memory mapped into its address space..." So, I do following experiment. All operations are done in the hypervisor, in a hypercall written by myself: 1. provide a mfn, denoted as maddr, which refers to a machine frame of an running domain. 2. calculate vaddr=__va(maddr) . 3. access this page through vaddr. But Xen generates a fatal page fault and the whole system hangs. Since I'm not very familiar with memory management issue, I don't know how to let the hypervisor access arbitary machine address. Did I use wrong macro/function? Or did I misunderstand the book? Any one can give me a hint? Thanks in advanced. Wei LIU _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |