[Fedora-xen] Dump guest memory in Xen?
Mark McLoughlin
markmc at redhat.com
Mon May 19 15:42:20 UTC 2008
On Mon, 2008-05-19 at 16:29 +0100, Richard W.M. Jones wrote:
> I might be missing something obvious but ...
>
> QEMU has a nice 'memsave' command which lets you save/dump parts of
> guest memory to a file. Is there a similar feature in Xen?
>
> (Note I don't want to dump all memory to a core file, just snoop on
> small sections of memory).
Don't know of a tool to do that, but you can map the guest's memory
using the xc_map_foreign_*() API.
Take a look at xen/tools/xentrace/xenctx.c to see how it pokes around in
guest memory when dumping a stack trace.
Cheers,
Mark.
More information about the Fedora-xen
mailing list