kqemu static link?
Is it possible to statically link the kqemu module into the linux kernel 2.6.x)? (because I would like to disable loadable modules).
If yes, how can I do it?
Thanks a lot
Thomas Irlet
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 2 lines · Thomas Irlet
Is it possible to statically link the kqemu module into the linux kernel 2.6.x)? (because I would like to disable loadable modules).
AFAIK no, at least because of the licence (not GPL). Technically there would be broblems too, because you don't have the code for compilation. Maybe you could try with qvm86 which is GPL, but I don't know if it can be compiled inside a monolithic kernel.
- --
Flavio Visentin
| \|||/ | @/0.0\@ | \ - / +------------------oOOo---oOOo------------------
There are only 10 types of people in this world:
those who understand binary, and those who don't.
GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDBLrUusUmHkh1cnoRAvV7AJwMmSezOZOk+h8NuUFE6MDz/ceWpACfWR01 C+KQTHZShJ9HqQ9LvLfyays=
=981x
-----END PGP SIGNATURE-----
Quoted 7 lines · Flavio Visentin
Quoted 2 lines
Is it possible to statically link the kqemu module into the linux kernel 2.6.x)? (because I would like to disable loadable modules).
AFAIK no, at least because of the licence (not GPL). Technically there would be broblems too, because you don't have the code for compilation. Maybe you could try with qvm86 which is GPL, but I don't know if it can be compiled inside a monolithic kernel.
The GPL only applies in case of distribution. You are free to locally mix GPL code with anything else in any way you want without any external obligations, as long as you do not distribute the result.
Jonas
Quoted 9 lines · Thomas Irlet
Is it possible to statically link the kqemu module into the linux kernel 2.6.x)? (because I would like to disable loadable modules).
If yes, how can I do it?
Thanks a lot
Thomas Irlet
It is technically possible. The binary-only part of kqemu is just the core, the wrapper that turns it into a kernel module is released with source code. So, you can simply edit the right kernel makefiles and put the right files in the right places, and possibly make a few tiny changes in the source of the kqemu linux wrapper, and you should be able to get it to compile in statically. However, I have never done this and can not offer you advice on how to do it.
Also, it may not legal to release the modified kernel source tree because you are mixing GPL code with closed source (keeping the kernel for yourself only should be ok though).
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.