Qemu read guest ram from host application

Viewed 175

I have a host application which needs to access qemu physical address. For a RAM memory region. I am not able to figure out the right way to do this. Any help is appreciated.

I am currently thinking of adding a socket server to the QEMU event loop to do this. But am not able to find the documentation for this...

1 Answers

You can run qemu with gdb server enabled (-s), connect to the gdb server (TCP port 1234) and send your commands for memory reads to it.

Related