---

Kernel debugging with QEMU: An overview of tools available

Once you’ve setup a virtual machine in QEMU using debootstrap, there are a number of tools available for testing, tracing and debugging, such as Kmemleak for memory leaks, GDB (GNU Debugger), ftrace et dynamic_debug. See also: http://www.linuxtoday.com/developer/setting-up-qemu-kvm-for-kernel-development-170118132509.html