[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] blktap2 and CONFIG_XEN_BLKBACK_PAGEMAP
On Thu, Jul 15, 2010 at 12:02 PM, Kaushik Kumar Ram <kaushik@xxxxxxxx> wrote:
yep.. On disabling CONFIG_BLKBACK_PAGEMAP, the code falls back on the old implementation. Here, the guest pages are mapped into user space by directly manipulating the page tables without going through the grant mechanism. (Things seem slightly different when XENFEAT_auto_translated_physmap is set but I will ignore that for now). IIRC, that XENFEAT_auto_translated_physmap is kinda deprecated.. it was used in xen 3.1 or so I guess.. (basically, it makes pfn = mfn, instead of the current style : p2m & m2p tables) First, does the old way still work? AFAIK, nope. I am not sure if some other config needs to be set to get that old code to work. It looks like dead code to me. I cannot figure out the "backward compatibility" angle to it either. The problem seems to arise when the page table entry is set in blktap_umap_uaddr_fn() (in blktap2/device.c) which leads to a page fault and Xen does not seem to like this page fault to handle it correctly and this results in a panic. Why is the page table entry set directly without using a hypercall here? -- perception is but an offspring of its own self _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |