Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell to qemu to copy the ram into a file

Tags:

qemu

osdev

I am making an OS and I am debugging it using the Qemu. I want a way to read some big blocks of the ram at the end of some instructions. How to do that? Can say to Qemu to copy the ram into a file? If not what I can do?

like image 648
ARISTOS Avatar asked Sep 20 '25 00:09

ARISTOS


1 Answers

qmp or hmp command dump-guest-memory.

like image 163
lyu.l Avatar answered Sep 23 '25 06:09

lyu.l