[Libguestfs] Using guestfs to debug kernel

Teto mattator at gmail.com
Tue Dec 3 17:05:24 UTC 2013


Hi,

I would like to use libguestfs to help me setup a VM that I run later
with qemu to debug my linux kernel (via qemu -kernel <mykernel>
-append ...).
One problem I face for instance is that my VM lacks the modules
matching my kernel version. So what would you consider as the best
option here to load the modules for the kernel ?
Should I upload the modules from the host to the VM /lib/modules (need
to tar this fodler and upload it via tar_in ?!) ? Or can I access my
/lib/modules over the network via a specific initramfs ?

I am quite open to any suggestion, I've already got the libguestfs
python binding working.

Best Regards

Matt




More information about the Libguestfs mailing list