[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] How can i get VA from a pfn in HVM guest
On 08/05/2010 04:39 PM, èåé wrote: Hi,After i get the pfn in a hvm guest using following code, how can i use it? Simply using __va() seems wrong, for the ( param.value << PAGE_SHIFT ) is feffc000 in my test module, using __va() will overflow.xen_hvm_param_t param; param.domid = DOMID_SELF; param.index = HVM_PARAM_STORE_PFN; hypercall_hvm_op(HVMOP_get_param, ¶m); You need to ioremap it. J _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |