From: Jan Kiszka <jan.kiszka@siemens.com>
To: Tomas Kouba <tomas@jikos.cz>
Cc: kvm@vger.kernel.org
Subject: Re: Memory image of kvm guest
Date: Wed, 25 Jun 2008 16:04:23 +0200 [thread overview]
Message-ID: <48625067.1000601@siemens.com> (raw)
In-Reply-To: <48623A14.2000601@jikos.cz>
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
prev parent reply other threads:[~2008-06-25 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 12:29 Memory image of kvm guest Tomas Kouba
2008-06-25 14:04 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48625067.1000601@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=tomas@jikos.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox