Hacker News new | ask | show | jobs
by cperciva 1433 days ago
poking directly at hardware registers

Such luxury! I just spent a couple weeks getting FreeBSD booting in the Firecracker VM and most of my debugging was performed by inserting hlt instructions into the FreeBSD kernel and looking at whether virtual CPU halted or hit a triple fault.

3 comments

I take it the Firecrakcer folks haven't built out support for KVM_GUESTDBG_SINGLESTEP yet :)
> whether virtual CPU halted or hit a triple fault

Ah, I see the gentleman works directly in binary.