Eh, qemu runs just fine, so you can peek at Linux kernel code (and recompile and experiment with it) on the Mac just as much as you can on Linux.