All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] cpu_memory_rw_debug doesn't work on MIPS?
@ 2016-02-25 18:56 Igor R
  2016-02-26 10:54 ` Leon Alrae
  0 siblings, 1 reply; 2+ messages in thread
From: Igor R @ 2016-02-25 18:56 UTC (permalink / raw)
  To: QEMU Developers

If I understand correctly, the most advanced MMU that QEMU emulates
for MIPS is "R4000-style" MMU - i.e. a "software-managed" TLB, where
on TLB miss QEMU just emulates exception that should be handled by the
guest OS. So, QEMU doesn't walk through the page directory, like it
does when emulating e.g. x86.
While this approach works for the guest code, it results in inability
to read guest virtual memory "externally" - from within a monitor
command, for debugging purposes etc. That is, cpu_memory_rw_debug()
doesn't work reliably for mapped segments - it fails because of TLB
miss, but no one tries to fill the TLB.
If all the above correct, is there any work-around that can be used to
read the guest memory in qemu-system-mips?

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-26 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 18:56 [Qemu-devel] cpu_memory_rw_debug doesn't work on MIPS? Igor R
2016-02-26 10:54 ` Leon Alrae

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.