TCL looks pretty amazing. It was really wild to see qemu-kvm start up a micro instance in less than a second! Pretty impressive and small than all the other "micro" distros that I've seen by 10-100x.
So, here's my question. I'm hacking a new feature into the linux kernel. This is an implementation of an in-kernel messaging system similar to ZeroMQ but optimized at kernel speeds. I'd like to be able to, right from my kernel tree, do something like "make vm_test" and have it build the kernel, drop it or remaster it somehow into a runnable image, and then fire up that image with qemu-kvm. The image would contain my test harness that run continuously until an assert fails or the kernel panics, which hopefully doesn't happen.
This seems like it's possible but I'm not sure about how to put it together, the structure of TCL is definitely unique. Does this sound like something that is appropriate for TCL? Can I build a bleeding edge kernel and bundle it with TCL and an extension that contains my userland test code? Any helpful hints or direction in this regard would be awesome!