Re: [Xen-devel] crash tool - problem with new Xen linear virtual mapped sparse p2m list

From: Malcolm Crossley
Date: Tue Nov 24 2015 - 04:55:46 EST


On 24/11/15 08:59, Jan Beulich wrote:
>>>> On 24.11.15 at 07:55, <JGross@xxxxxxxx> wrote:
>> What about:
>>
>> 4) Instead of relying on the kernel maintained p2m list for m2p
>> conversion use the hypervisor maintained m2p list which should be
>> available in the dump as well. This is the way the alive kernel is
>> working, so mimic it during crash dump analysis.
>
> I fully agree; I have to admit that looking at the p2m when doing page
> table walks for a PV Dom0 (having all machine addresses in page table
> entries) seems kind of backwards. (But I say this knowing nothing
> about the tool.)
>
I don't think we can reliably use the m2p for PV domains because
PV domains don't always issue a m2p update hypercall when they change
their p2m mapping.

Malcolm

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/