* Memory image of kvm guest
@ 2008-06-25 12:29 Tomas Kouba
2008-06-25 14:04 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Kouba @ 2008-06-25 12:29 UTC (permalink / raw)
To: kvm
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,
--
Tomas Kouba
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Memory image of kvm guest
2008-06-25 12:29 Memory image of kvm guest Tomas Kouba
@ 2008-06-25 14:04 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2008-06-25 14:04 UTC (permalink / raw)
To: Tomas Kouba; +Cc: kvm
Tomas Kouba wrote:
> 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
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-25 14:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25 12:29 Memory image of kvm guest Tomas Kouba
2008-06-25 14:04 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox