Re: [Qemu-devel] MIPS: reading kernel memory when guest Linux is in user mode

2015-08-13 Thread Igor R
>> I try to use cpu_memory_rw_debug() to read from 0x8xxx kernel virtual >> address, when the guest is in user mode. Obviously, it fails. >> Is it possible to modify some control registers to allow such an access? I >> tried to set/clear the kernel mode bits in CP0_Status, but it doesn't help.

Re: [Qemu-devel] MIPS: reading kernel memory when guest Linux is in user mode

2015-08-13 Thread Peter Maydell
On 13 August 2015 at 16:23, Igor R wrote: > Hello, > > I try to use cpu_memory_rw_debug() to read from 0x8xxx kernel virtual > address, when the guest is in user mode. Obviously, it fails. > Is it possible to modify some control registers to allow such an access? I > tried to set/clear the ker

[Qemu-devel] MIPS: reading kernel memory when guest Linux is in user mode

2015-08-13 Thread Igor R
Hello, I try to use cpu_memory_rw_debug() to read from 0x8xxx kernel virtual address, when the guest is in user mode. Obviously, it fails. Is it possible to modify some control registers to allow such an access? I tried to set/clear the kernel mode bits in CP0_Status, but it doesn't help. Tha