Wow!
I have made an incredible amount of progress on KQEMU for NetBSD in the past two days. I wrote a small prototypical device LKM to test, and everything else has fallen into place. Lots of stupid errors were vetted this way.
As I started testing compilation today, I was a little distraught to find
- The Lunix-binary kqemu-mod-i386.o had, at some point, been deleted from my working source tree.
- kqemu-1.3.0pre9.tar.gz (the version I was developing against) is no longer available for download anywhere that I can find.
- kqemu-1.3.0pre11 was failing to build natively on NetBSD (with errors regarding inline assemly & registers.
But, (3) was very easily resolved by trying to build on my -current machine instead of NetBSD-2.1.
At this point I have some apparently minor uvm(9) stuff to clean up; and then it's on to testing ;)