On Fri, Oct 21, 2011 at 09:02:37AM -0400, Dave Anderson wrote: > It would be kind of cool if there was a "/dev/mem"-like interface > to a KVM guest's physical memory, so that you could sit on a KVM host > and enter "crash vmlinux-of-guest /dev/mem-of-guest" in order to > run live analysis of a guest.
OT for this thread, but this sort of thing does exist, kind of. You can send monitor commands to qemu to read physical and virtual memory ("pmemsave" and "memsave" respectively). At least one, and possibly now both of these are bound through libvirt APIs: http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryPeek Here was your previous response about 4 years ago: https://www.redhat.com/archives/crash-utility/2008-August/msg00032.html Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org