Re: Dump guest memory in Xen?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux