« Previous | Next » 

Revision 7c43bca0

ID7c43bca004afdb2a86c20ab3131ec1eb7a78d80d

Added by Aneesh Kumar K.V about 10 years ago

target-ppc: Fix page table lookup with kvm enabled

With kvm enabled, we store the hash page table information in the hypervisor.
Use ioctl to read the htab contents. Without this we get the below error when
trying to read the guest address

(gdb) x/10 do_fork
0xc000000000098660 <do_fork>: Cannot access memory at address 0xc000000000098660
(gdb)

Signed-off-by: Aneesh Kumar K.V <>
[ fixes for 32 bit build (casts!), ldq_phys() API change,
Greg Kurz < ]
Signed-off-by: Greg Kurz <>
Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences