Skip to contentSkip to conversation

How can I map a foreign mfn when I'm in a workqueue?

DISCUSSION zhefu jiang 2 participants 2 messages Oct 31, 2009 – Nov 2, 2009

lore
Share & tools
lore
#0 lore raw

I use alloc_vm_area/direct_kernel_remap_pfn_range/unmap_vm_area to map a foreign pfn into dom0's kernel address space, all goes well with the exception that when I use them in a workqueue, dom0's kernel fails to map the page and gives me these error messages:

Unable to handle kernel paging request at xxxxxx...

Does anyone have some idea about it?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 8 lines · zhefu jiang

I use alloc_vm_area/direct_kernel_remap_pfn_range/unmap_vm_area to map a foreign pfn into dom0's kernel address space, all goes well with the exception that when I use them in a workqueue, dom0's kernel fails to map the page and gives me these error messages:

Unable to handle kernel paging request at xxxxxx...

Does anyone have some idea about it?

You haven't posted enough detail for anyone to be able to help you.

J