On 06/18/13 13:37, Michael Tokarev wrote: > Next, and this is the most complex part. The build system for > modules, and configuring it. I heard there were plans to use > something like kbuild system for that, has anything been done > in this context?
Sorry for responding separately... Some module/symbol versioning will be necessary, as the binding will be delayed until runtime, and users *will* mix and match qemu and modules, and get random crashes. AFAIK versioning is a good way to avoid that (you would get an error in dlopen(), and dlerror() would pinpoint problem). No idea how to implement this though, except I expect there's no chance to do it halfway portably without libtool. POSIX is very laconic regarding shared libraries, for example http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html in SUSv4 doesn't say anything about them. Laszlo