qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Getting current PGD on address@hidden


From: Peter Maydell
Subject: Re: [Qemu-devel] Getting current PGD on address@hidden
Date: Tue, 11 Aug 2015 14:13:09 +0100

On 11 August 2015 at 13:53, Igor R <address@hidden> wrote:
> Reading ttbr0 worked for me on ARM, reading cr3 worked on x86.
> Now I'm looking for a similar thing on MIPS. I.e. I need a pointer to the
> process' translation table - something that can be compared to task->mm->pgd
> (after virt2phys conversion).
> I'd appreciate any idea!

I would start by looking at how the guest kernel finds this
information (which registers it reads, etc). Then you can
look at where QEMU stores the state information which those
registers correspond to.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]