[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] convert guest va to ma in xen?
I have a dom0 kernel virtual address in xen. I'd like to convert it to a machine address. What are the best function(s) to use for making this conversion? I've tried the code below, but this only seems to work for hvm guest domains, and not for dom0: mfn = get_mfn_from_gpfn(shadow_gva_to_gfn(current, vaddr); maddr = (mfn << PAGE_SHIFT) + (vaddr & ~PAGE_MASK); Is there equivalent code that will work for virtual addresses from dom0? Thanks, bryan -- Bryan D. Payne Graduate Student, Computer Science Georgia Tech Information Security Center http://www.bryanpayne.org _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |