* [Qemu-devel]kqemu static link?
@ 2005-08-18 15:37 Thomas Irlet
2005-08-18 16:44 ` Flavio Visentin
2005-08-18 19:23 ` Jim C. Brown
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Irlet @ 2005-08-18 15:37 UTC (permalink / raw)
To: Qemu-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel]kqemu static link?
2005-08-18 15:37 [Qemu-devel]kqemu static link? Thomas Irlet
@ 2005-08-18 16:44 ` Flavio Visentin
2005-08-18 17:08 ` Jonas Maebe
2005-08-18 19:23 ` Jim C. Brown
1 sibling, 1 reply; 4+ messages in thread
From: Flavio Visentin @ 2005-08-18 16:44 UTC (permalink / raw)
To: qemu-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Irlet wrote:
> 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-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel]kqemu static link?
2005-08-18 16:44 ` Flavio Visentin
@ 2005-08-18 17:08 ` Jonas Maebe
0 siblings, 0 replies; 4+ messages in thread
From: Jonas Maebe @ 2005-08-18 17:08 UTC (permalink / raw)
To: qemu-devel
On 18 aug 2005, at 18:44, Flavio Visentin wrote:
>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel]kqemu static link?
2005-08-18 15:37 [Qemu-devel]kqemu static link? Thomas Irlet
2005-08-18 16:44 ` Flavio Visentin
@ 2005-08-18 19:23 ` Jim C. Brown
1 sibling, 0 replies; 4+ messages in thread
From: Jim C. Brown @ 2005-08-18 19:23 UTC (permalink / raw)
To: qemu-devel
On Thu, Aug 18, 2005 at 05:37:28PM +0200, Thomas Irlet wrote:
> 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).
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-18 20:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18 15:37 [Qemu-devel]kqemu static link? Thomas Irlet
2005-08-18 16:44 ` Flavio Visentin
2005-08-18 17:08 ` Jonas Maebe
2005-08-18 19:23 ` Jim C. Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).