Memory image of kvm guest
Hello,
is it possible to see and modify guest memory of the guest running under kvm? For example when I know the address of a kernel symbol, can I read the memory of the symbol in my application running on host?
(I am quite new to KVM but similar things are possible in XEN via xenctrl library calls).
Thank you,
Signature · 1 line
Tomas Kouba
Quoted 9 lines · Tomas Kouba
Hello,
is it possible to see and modify guest memory of the guest running under kvm?
For example when I know the address of a kernel symbol, can I read the memory
of the symbol in my application running on host?(I am quite new to KVM but similar things are possible in XEN via xenctrl library calls).
Even better: Inherited from QEMU, KVM provides a full-blown gdb backend. So you can do source-level debugging of your guest very comfortably. If you just want to get the content of some memory chunk: QEMU monitor, 'x' (as known from gdb, see also qemu/qemu-doc.html). But modification requires a gdb frontend again.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux