While writing linux-insides, especially the early boot chapters, I was always annoyed by how non-trivial it is to debug early kernel code.
So I decided to have some fun and build a tiny VM with a built-in debugger: something that can boot a kernel and let me inspect and visualize kernel internals nicely at every stage I would like.
For now I "can" boot the kernel!
Well, ok, it does not boot yet, rather fails beautifully 😀 But I can already see early debug output from linux kernel setup code inside my little vmm
If you like or interested as I in Linux internals, bootloaders, kernels, virtualization, or want to help shape this into executable linux-insides chapters - follow along.