News for hackers. Stuff that matters.
Re:LibVMI: virtual machine introspection by rwmj on Saturday October 22, 2016 @01:29PM (#12769590)
The "crash" utility[1] has been doing this for a while on live QEMU/KVM guests, but there's certainly a need for easier to use tooling.

A long time ago I wrote some tools that let you get process listings, dmesg and so on from guests[2]. Unfortunately the kernel developers didn't want to provide an easy introspection method so it ended up being a constant battle to modify it for changes to the internal kernel structures (although not impossible, just a full time job which I didn't want to do).

Actually, just getting dmesg from a guest is super-useful when the guest "goes away" and you've no idea if it has crashed or why. Nowadays I use virt-ls to find out what a guest is doing[3].

[1] https://github.com/crash-utility/crash

[2] https://people.redhat.com/~rjones/virt-dmesg/

[3] https://rwmj.wordpress.com/2012/02/27/using-libguestfs-to-fi...

There are no comments on this comment yet.