Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Luke -Jr
On Thursday 21 June 2007 17:33, M. Warner Losh wrote:
 The GPL only has as much force of law as copyright law gives it, and in
 order to be applicable, the work in question must somehow rely on the GPL'd
 work.  The somehow here is an interesting legal question that hasn't been
 well settled. 

And copyright law by default grants you no rights to modify or copy Qemu at 
all. The ONLY way you can get permission to copy or modify Qemu is to agree 
to the GPL in its entirety-- which does not restrict itself to merely 
derivative works, but covers all linking. (note: obvious the copyright 
holder(s) can make exceptions to this rule)

IANAL either, but as much as I have to debate this I might as well be




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Luke -Jr
On Friday 22 June 2007 00:34, Balazs Attila-Mihaly (Cd-MaN) wrote:
 I must prefix this with the fact that IANAL, but as I understand it, you
 must release the source code only if you distribute that modified system
 (with GPL v2). That is, if you use this system internally in you company,
 you don't have to provide your modifications. But if you, for example,
 provide your clients with the modified version, you have the obligation to
 provide them (your clients, not the Qemu community in general) also with
 the complete source code, after which they have the liberty to redistribute
 the source code under the GPL. 

Correct.

 One solution would be (again, IANAL, so please check with a real lawyer :D),

The solution would be to comply with the GPL and release the code. :)

 is to create an interface to the code you wish to include and put the
 proprietary code in a dynamically linked library which exposes this
 interface. In this case IMHO you have to provide only the code which
 implements the interface in Qemu and loads the shared library, and you would
 have  no obligation regarding the code in the shared library.

The GPL is viral. A derivative-work wrapper would be under the full GPL terms 
and could not link out to a proprietary library either. While there are legal 
loopholes in the GPL, this is not one of them. (and no, I will not provide 
any more info on the loopholes I am aware of)




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Warner Losh
From: Luke -Jr [EMAIL PROTECTED]
Subject: Re: [Qemu-devel] QEMU License and proprietary hardware
Date: Fri, 22 Jun 2007 10:18:01 -0500

 On Thursday 21 June 2007 17:33, M. Warner Losh wrote:
  The GPL only has as much force of law as copyright law gives it, and in
  order to be applicable, the work in question must somehow rely on the GPL'd
  work.  The somehow here is an interesting legal question that hasn't been
  well settled. 
 
 And copyright law by default grants you no rights to modify or copy Qemu at 
 all. The ONLY way you can get permission to copy or modify Qemu is to agree 
 to the GPL in its entirety-- which does not restrict itself to merely 
 derivative works, but covers all linking. (note: obvious the copyright 
 holder(s) can make exceptions to this rule)

Actually, the GPL does only apply to derived works, and it plainly
says so:
The Program, below, refers to any such program or work, and
a work based on the Program means either the Program or any
derivative work under copyright law
Linking typically is what makes a derived work, but not necessary.  It
is just the shade of grey that most people use as a rule of thumb.

If you do not have a derived work, then you can use and distribute
your work as you see fit, without the GPL restrictions.  While the GPL
is viral, it is only viral to the extent that the new work is
derivative of the GPL'd work.  This is why, for example, running my
proprietary program on a Linux box doesn't mean my proprietary program
is covered under the GPL.  Although it uses the kernel, and in a very
real sense the kernel links into the program due to address space
mapping for system calls and the like, this isn't enough to make my
program a derivative work.  So it isn't 'black' vs 'white' but more of
a 'this shade of grey is more white than black' or vice versa.

I can make fair use use of GPL'd software with no restrictions
what-so-ever so long as that use falls within 'fair use' as defined by
copyright law.  I can also use GPL'd code that doesn't quaify for
copyright protection (as is the case if it lacks a creative element,
is the only possible way to do something, etc).

However, those exceptions tend to be rather specialized and limited.
This isn't just GPL, btw, but any creative work.  It is at the heart
of the SCO case because SCO is claiming ~500 lines of Linux infringe
on its copyright rights (to grossly oversimplify).  Much of IBM's
defence rests on exceptions to copyright law.

 IANAL either, but as much as I have to debate this I might as well be

It is amaizing how many people get this wrong.  It is subtle, and
there's much misinformation circulating.  I've had to do a lot of
research in this area because of my involvement in FreeBSD's core team
and the licensing issues that come up there...

Warner




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Luke -Jr
On Friday 22 June 2007 11:07, you wrote:
  On Thursday 21 June 2007 17:33, M. Warner Losh wrote:
   The GPL only has as much force of law as copyright law gives it, and in
   order to be applicable, the work in question must somehow rely on the
   GPL'd work.  The somehow here is an interesting legal question that
   hasn't been well settled.
 
  And copyright law by default grants you no rights to modify or copy Qemu
  at all. The ONLY way you can get permission to copy or modify Qemu is to
  agree to the GPL in its entirety-- which does not restrict itself to
  merely derivative works, but covers all linking. (note: obvious the
  copyright holder(s) can make exceptions to this rule)

 Actually, the GPL does only apply to derived works, and it plainly
 says so:
   The Program, below, refers to any such program or work, and
   a work based on the Program means either the Program or any
   derivative work under copyright law
 Linking typically is what makes a derived work, but not necessary.  It
 is just the shade of grey that most people use as a rule of thumb.

That's merely the definition of Program as used in the license. Read all the 
requirements, not just definitions...

 If you do not have a derived work, then you can use and distribute
 your work as you see fit, without the GPL restrictions.  While the GPL
 is viral, it is only viral to the extent that the new work is
 derivative of the GPL'd work.  This is why, for example, running my
 proprietary program on a Linux box doesn't mean my proprietary program
 is covered under the GPL.  Although it uses the kernel, and in a very
 real sense the kernel links into the program due to address space
 mapping for system calls and the like, this isn't enough to make my
 program a derivative work.  So it isn't 'black' vs 'white' but more of
 a 'this shade of grey is more white than black' or vice versa.

The kernel contains exceptions for userland code. If it didn't, you would be 
unable to distribute your program alongside Linux.

 I can make fair use use of GPL'd software with no restrictions
 what-so-ever so long as that use falls within 'fair use' as defined by
 copyright law.  I can also use GPL'd code that doesn't quaify for
 copyright protection (as is the case if it lacks a creative element,
 is the only possible way to do something, etc).

How does linking fit under fair use?





Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Luke -Jr [EMAIL PROTECTED] writes:
: On Friday 22 June 2007 11:07, you wrote:
:   On Thursday 21 June 2007 17:33, M. Warner Losh wrote:
:The GPL only has as much force of law as copyright law gives it, and in
:order to be applicable, the work in question must somehow rely on the
:GPL'd work.  The somehow here is an interesting legal question that
:hasn't been well settled.
:  
:   And copyright law by default grants you no rights to modify or copy Qemu
:   at all. The ONLY way you can get permission to copy or modify Qemu is to
:   agree to the GPL in its entirety-- which does not restrict itself to
:   merely derivative works, but covers all linking. (note: obvious the
:   copyright holder(s) can make exceptions to this rule)
: 
:  Actually, the GPL does only apply to derived works, and it plainly
:  says so:
:  The Program, below, refers to any such program or work, and
:  a work based on the Program means either the Program or any
:  derivative work under copyright law
:  Linking typically is what makes a derived work, but not necessary.  It
:  is just the shade of grey that most people use as a rule of thumb.
:
: That's merely the definition of Program as used in the
: license. Read all the requirements, not just definitions...

The definition is what is controlling here.  IF it is a derived work
THEN you must do X.  If it is not a derived work, then you may do as
you see fit.  If what you did somehow wasn't a derivative work, then
the there's no legal basis for forcing compliance with a license.
This is exactly what SCO is trying to do right now with its IBM case.

:  If you do not have a derived work, then you can use and distribute
:  your work as you see fit, without the GPL restrictions.  While the GPL
:  is viral, it is only viral to the extent that the new work is
:  derivative of the GPL'd work.  This is why, for example, running my
:  proprietary program on a Linux box doesn't mean my proprietary program
:  is covered under the GPL.  Although it uses the kernel, and in a very
:  real sense the kernel links into the program due to address space
:  mapping for system calls and the like, this isn't enough to make my
:  program a derivative work.  So it isn't 'black' vs 'white' but more of
:  a 'this shade of grey is more white than black' or vice versa.
: 
: The kernel contains exceptions for userland code. If it didn't, you would be 
: unable to distribute your program alongside Linux.

Even if it didn't, you would be able to.  Running a program on a
kernel does not create a derivative work.  I believe there is even
case law on this.  IIRC, there were cases with IBM and third parties
providing software for mainframes that settled this, but I don't have
the time to do an Internet search here.

It is unclear for the Linux kernel if the 'end run' people do with
loadable modules is a legal way to avoid source distribution.  The FSF
doesn't think so.  Linus has said he's cool with it, but absent a
statement from all the copyright holders of code in the Linux kernel,
the issue is at best murky.  It is unclear if the original poster
tried to do a binary-only module with QEMU if he'd be in compliance or
not (since the end user does the actual linking).

:  I can make fair use use of GPL'd software with no restrictions
:  what-so-ever so long as that use falls within 'fair use' as defined by
:  copyright law.  I can also use GPL'd code that doesn't quaify for
:  copyright protection (as is the case if it lacks a creative element,
:  is the only possible way to do something, etc).
: 
: How does linking fit under fair use?

Again, this is another example of how the GPL isn't absolute.  There
is case law in reverse engineering cases for game consoles where it
was held to be fair use to copy the ROMs into memory for the purpose
of reverse engineering them.  There may be other examples where
linking, or linking-like activities are fair use.  The biggest one
being when the original post links in his proprietary module to QEMU.
That's definitely fair use.  Distributing the results may or may not
be legal, depending on how the linking is done and a bunch of other
factors.

Warner




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Luke -Jr
On Friday 22 June 2007 11:46, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 Luke -Jr [EMAIL PROTECTED] writes:
 : On Friday 22 June 2007 11:07, you wrote:
 :   On Thursday 21 June 2007 17:33, M. Warner Losh wrote:
 :The GPL only has as much force of law as copyright law gives it,
 :and in order to be applicable, the work in question must somehow
 :rely on the GPL'd work.  The somehow here is an interesting legal
 :question that hasn't been well settled.
 :  
 :   And copyright law by default grants you no rights to modify or copy
 :   Qemu at all. The ONLY way you can get permission to copy or modify
 :   Qemu is to agree to the GPL in its entirety-- which does not restrict
 :   itself to merely derivative works, but covers all linking. (note:
 :   obvious the copyright holder(s) can make exceptions to this rule)
 : 
 :  Actually, the GPL does only apply to derived works, and it plainly
 :  says so:
 :The Program, below, refers to any such program or work, and
 :a work based on the Program means either the Program or any
 :derivative work under copyright law
 :  Linking typically is what makes a derived work, but not necessary.  It
 :  is just the shade of grey that most people use as a rule of thumb.
 :
 : That's merely the definition of Program as used in the
 : license. Read all the requirements, not just definitions...

 The definition is what is controlling here.  IF it is a derived work
 THEN you must do X.  If it is not a derived work, then you may do as
 you see fit.  If what you did somehow wasn't a derivative work, then
 the there's no legal basis for forcing compliance with a license.
 This is exactly what SCO is trying to do right now with its IBM case.

Unless you modify or distribute the work. These acts are illegal without 
compliance with the license.

 :  If you do not have a derived work, then you can use and distribute
 :  your work as you see fit, without the GPL restrictions.  While the GPL
 :  is viral, it is only viral to the extent that the new work is
 :  derivative of the GPL'd work.  This is why, for example, running my
 :  proprietary program on a Linux box doesn't mean my proprietary program
 :  is covered under the GPL.  Although it uses the kernel, and in a very
 :  real sense the kernel links into the program due to address space
 :  mapping for system calls and the like, this isn't enough to make my
 :  program a derivative work.  So it isn't 'black' vs 'white' but more of
 :  a 'this shade of grey is more white than black' or vice versa.
 :
 : The kernel contains exceptions for userland code. If it didn't, you would
 : be unable to distribute your program alongside Linux.

 Even if it didn't, you would be able to.  Running a program on a
 kernel does not create a derivative work.  I believe there is even
 case law on this.  IIRC, there were cases with IBM and third parties
 providing software for mainframes that settled this, but I don't have
 the time to do an Internet search here.

I bet those cases weren't distributing the kernel along with their software, 
were they?

 It is unclear for the Linux kernel if the 'end run' people do with
 loadable modules is a legal way to avoid source distribution.  The FSF
 doesn't think so.  Linus has said he's cool with it, but absent a
 statement from all the copyright holders of code in the Linux kernel,
 the issue is at best murky.  It is unclear if the original poster
 tried to do a binary-only module with QEMU if he'd be in compliance or
 not (since the end user does the actual linking).

It is undisputed that it would be in violation if the kernel was distributed 
with the modules. The GPL is clear that mere use (end user) is always 
allowed. It is also fairly clear (the opinions of many kernel developers and 
IP lawyers) that proprietary modules for Linux are illegal to distribute. As 
with all copyright violations, however, the liability is on the distributor's 
end, so the end user is again not liable for the download either.




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Johannes Schindelin
Hi,

On Fri, 22 Jun 2007, Luke -Jr wrote:

 On Friday 22 June 2007 11:46, M. Warner Losh wrote:

  If what you did somehow wasn't a derivative work, then the there's no 
  legal basis for forcing compliance with a license.
 
 Unless you modify or distribute the work. These acts are illegal without 
 compliance with the license.

No. If what you did was not a derivative work, then it was no derivative 
work, then it was no derivative work.

So if you changed a GPL program, and distribute that, you have to license 
these changes with the same license.

If at the same time you make something original, which is not derived from 
the GPLed program, then you are as free as a bird to sh*t on the GPL with 
regards to your original work. You can choose whatever license, if any.

What you throw about here, Luke, is FUD.

The GPL is only insofar viral as you cannot take something GPLed and just 
relicense it at will. Not even when you modify it.

However, writing a virtual device that just happens to be dynamically 
linkable to QEmu, but might just as well be linked to VMWare, is fine. 
This virtual device is clearly _not_ derived from QEmu.

You can do something like that easily, by implementing a clean interface 
for QEmu, which allows you to runtime link with such a standalone virtual 
device. A couple of people would even thank you for that.

Besides, QEmu's core is LGPL. Not GPL.

All this discussion is moot though. If you're not a lawyer, you should 
not behave like one, and respect the wishes of the authors for a change.

 It is undisputed that it would be in violation if the kernel was 
 distributed with the modules.

Nope. It is not undisputed.

 The GPL is clear that mere use (end user) is always allowed.

That's right.

 It is also fairly clear (the opinions of many kernel developers and IP 
 lawyers) that proprietary modules for Linux are illegal to distribute.

Nope. Not at all.

I'd rather have your virtual device open sourced, but if you cannot do 
that, I'd rather have it closed-source, than not at all.

And please stop this FUD about the GPL being viral and stuff.

Ciao,
Dscho





Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Ronnie Misra

On Jun 22, 2007, at 10:11 AM, Luke -Jr wrote:


On Friday 22 June 2007 11:46, M. Warner Losh wrote:

In message: [EMAIL PROTECTED]
Luke -Jr [EMAIL PROTECTED] writes:
: On Friday 22 June 2007 11:07, you wrote:
:   On Thursday 21 June 2007 17:33, M. Warner Losh wrote:
:The GPL only has as much force of law as copyright law  
gives it,
:and in order to be applicable, the work in question must  
somehow
:rely on the GPL'd work.  The somehow here is an  
interesting legal

:question that hasn't been well settled.
:  
:   And copyright law by default grants you no rights to modify  
or copy
:   Qemu at all. The ONLY way you can get permission to copy or  
modify
:   Qemu is to agree to the GPL in its entirety-- which does not  
restrict
:   itself to merely derivative works, but covers all linking.  
(note:
:   obvious the copyright holder(s) can make exceptions to this  
rule)

: 
:  Actually, the GPL does only apply to derived works, and it  
plainly

:  says so:
:   The Program, below, refers to any such program or work, and
:   a work based on the Program means either the Program or any
:   derivative work under copyright law
:  Linking typically is what makes a derived work, but not  
necessary.  It
:  is just the shade of grey that most people use as a rule of  
thumb.

:
: That's merely the definition of Program as used in the
: license. Read all the requirements, not just definitions...

The definition is what is controlling here.  IF it is a derived work
THEN you must do X.  If it is not a derived work, then you may do as
you see fit.  If what you did somehow wasn't a derivative work, then
the there's no legal basis for forcing compliance with a license.
This is exactly what SCO is trying to do right now with its IBM case.


Unless you modify or distribute the work. These acts are illegal  
without

compliance with the license.

:  If you do not have a derived work, then you can use and  
distribute
:  your work as you see fit, without the GPL restrictions.  While  
the GPL

:  is viral, it is only viral to the extent that the new work is
:  derivative of the GPL'd work.  This is why, for example,  
running my
:  proprietary program on a Linux box doesn't mean my proprietary  
program
:  is covered under the GPL.  Although it uses the kernel, and in  
a very

:  real sense the kernel links into the program due to address space
:  mapping for system calls and the like, this isn't enough to  
make my
:  program a derivative work.  So it isn't 'black' vs 'white' but  
more of

:  a 'this shade of grey is more white than black' or vice versa.
:
: The kernel contains exceptions for userland code. If it didn't,  
you would

: be unable to distribute your program alongside Linux.

Even if it didn't, you would be able to.  Running a program on a
kernel does not create a derivative work.  I believe there is even
case law on this.  IIRC, there were cases with IBM and third parties
providing software for mainframes that settled this, but I don't have
the time to do an Internet search here.


I bet those cases weren't distributing the kernel along with their  
software,

were they?


It is unclear for the Linux kernel if the 'end run' people do with
loadable modules is a legal way to avoid source distribution.  The  
FSF

doesn't think so.  Linus has said he's cool with it, but absent a
statement from all the copyright holders of code in the Linux kernel,
the issue is at best murky.  It is unclear if the original poster
tried to do a binary-only module with QEMU if he'd be in  
compliance or

not (since the end user does the actual linking).


It is undisputed that it would be in violation if the kernel was  
distributed

with the modules. The GPL is clear that mere use (end user) is always
allowed. It is also fairly clear (the opinions of many kernel  
developers and
IP lawyers) that proprietary modules for Linux are illegal to  
distribute. As
with all copyright violations, however, the liability is on the  
distributor's

end, so the end user is again not liable for the download either.





Definitions/terms of the GPL aside, here's what the QEMU license file  
says:



The following points clarify the QEMU license:

1) QEMU as a whole is released under the GNU General Public License

2) Parts of QEMU have specific licenses which are compatible with the
GNU General Public License. Hence each source file contains its own
licensing information.

In particular, the QEMU virtual CPU core library (libqemu.a) is
released under the GNU Lesser General Public License. Many hardware
device emulation sources are released under the BSD license.

3) QEMU is a trademark of Fabrice Bellard.


If the original poster is able to do what he wants using only the BSD- 
licensed hardware device emulation and the LGPL-licensed libqemu, I  
believe that he is free to distribute a *dynamically linked* machine  
emulator without placing his new code under the GPL. However, he will  
have to be very careful 

Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread M. Warner Losh
[[ This is my last post on this topic, as we're starting to get quite
   far afield from QEMU and I'm starting to repeat myself.  Luke -Jr
   wants the last word, he can have it ]]

In message: [EMAIL PROTECTED]
Luke -Jr [EMAIL PROTECTED] writes:
: On Friday 22 June 2007 11:46, M. Warner Losh wrote:
:  In message: [EMAIL PROTECTED]
:  Luke -Jr [EMAIL PROTECTED] writes:
:  : On Friday 22 June 2007 11:07, you wrote:
:  :   On Thursday 21 June 2007 17:33, M. Warner Losh wrote:
:  :The GPL only has as much force of law as copyright law gives it,
:  :and in order to be applicable, the work in question must somehow
:  :rely on the GPL'd work.  The somehow here is an interesting legal
:  :question that hasn't been well settled.
:  :  
:  :   And copyright law by default grants you no rights to modify or copy
:  :   Qemu at all. The ONLY way you can get permission to copy or modify
:  :   Qemu is to agree to the GPL in its entirety-- which does not restrict
:  :   itself to merely derivative works, but covers all linking. (note:
:  :   obvious the copyright holder(s) can make exceptions to this rule)
:  : 
:  :  Actually, the GPL does only apply to derived works, and it plainly
:  :  says so:
:  :  The Program, below, refers to any such program or work, and
:  :  a work based on the Program means either the Program or any
:  :  derivative work under copyright law
:  :  Linking typically is what makes a derived work, but not necessary.  It
:  :  is just the shade of grey that most people use as a rule of thumb.
:  :
:  : That's merely the definition of Program as used in the
:  : license. Read all the requirements, not just definitions...
: 
:  The definition is what is controlling here.  IF it is a derived work
:  THEN you must do X.  If it is not a derived work, then you may do as
:  you see fit.  If what you did somehow wasn't a derivative work, then
:  the there's no legal basis for forcing compliance with a license.
:  This is exactly what SCO is trying to do right now with its IBM case.
: 
: Unless you modify or distribute the work. These acts are illegal without 
: compliance with the license.

Modifying the work may create a derivative work.  If it does (and it
usually does), then you are correct.  If it does not for some reason,
then the terms do not apply.

:  :  If you do not have a derived work, then you can use and distribute
:  :  your work as you see fit, without the GPL restrictions.  While the GPL
:  :  is viral, it is only viral to the extent that the new work is
:  :  derivative of the GPL'd work.  This is why, for example, running my
:  :  proprietary program on a Linux box doesn't mean my proprietary program
:  :  is covered under the GPL.  Although it uses the kernel, and in a very
:  :  real sense the kernel links into the program due to address space
:  :  mapping for system calls and the like, this isn't enough to make my
:  :  program a derivative work.  So it isn't 'black' vs 'white' but more of
:  :  a 'this shade of grey is more white than black' or vice versa.
:  :
:  : The kernel contains exceptions for userland code. If it didn't, you would
:  : be unable to distribute your program alongside Linux.
: 
:  Even if it didn't, you would be able to.  Running a program on a
:  kernel does not create a derivative work.  I believe there is even
:  case law on this.  IIRC, there were cases with IBM and third parties
:  providing software for mainframes that settled this, but I don't have
:  the time to do an Internet search here.
: 
: I bet those cases weren't distributing the kernel along with their software, 
: were they?

They were, actually.  The cases I'm thinking of had to do with VARs
integrating their software and shipping the systems to end users.
Similar, but not identical.

:  It is unclear for the Linux kernel if the 'end run' people do with
:  loadable modules is a legal way to avoid source distribution.  The FSF
:  doesn't think so.  Linus has said he's cool with it, but absent a
:  statement from all the copyright holders of code in the Linux kernel,
:  the issue is at best murky.  It is unclear if the original poster
:  tried to do a binary-only module with QEMU if he'd be in compliance or
:  not (since the end user does the actual linking).
: 
: It is undisputed that it would be in violation if the kernel was distributed 
: with the modules.

It is not undisputed.  Linus Torvalds doesn't hold that view, for
example.  All the wireless device makers today that are based on linux
use binary-only modules for their wireless devices.  Similar issues
happen with NTFS write support in many of network attached storage
devices.  These devices are distributed with both the kernel and
devices in the same flash.

I've included some examples of divergent opinion within the Linux
kernel community below.

: The GPL is clear that mere use (end user) is always allowed. It is
: also fairly clear (the opinions of many kernel 

Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Luke -Jr
On Friday 22 June 2007 12:37, Johannes Schindelin wrote:
 If at the same time you make something original, which is not derived from
 the GPLed program, then you are as free as a bird to sh*t on the GPL with
 regards to your original work. You can choose whatever license, if any.

Not if you want to distribute the GPL'd work, or anything derived from it.

 The GPL is only insofar viral as you cannot take something GPLed and just
 relicense it at will. Not even when you modify it.

Then explain the difference between the LGPL and GPL. A license that preserves 
itself only is pointless without other terms.

 However, writing a virtual device that just happens to be dynamically
 linkable to QEmu, but might just as well be linked to VMWare, is fine.
 This virtual device is clearly _not_ derived from QEmu.

That allows you to distribute the virtual device by itself, not alongside with 
Qemu.

 Besides, QEmu's core is LGPL. Not GPL.

Good point, and makes this entire argument mostly irrelevant.

  It is undisputed that it would be in violation if the kernel was
  distributed with the modules.

 Nope. It is not undisputed.

It is undisputed by anyone who has ever considered the issue as part of 
deciding whether or not to do it.

  It is also fairly clear (the opinions of many kernel developers and IP
  lawyers) that proprietary modules for Linux are illegal to distribute.

 Nope. Not at all.

http://www.kroah.com/log/linux/ols_2006_keynote.html

 I'd rather have your virtual device open sourced, but if you cannot do
 that, I'd rather have it closed-source, than not at all.

I would never buy software without source. Hopefully someday I can apply this 
to hardware as well.




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-22 Thread Johannes Schindelin
Hi,

On Fri, 22 Jun 2007, Luke -Jr wrote:

 On Friday 22 June 2007 12:37, Johannes Schindelin wrote:
  If at the same time you make something original, which is not derived from
  the GPLed program, then you are as free as a bird to sh*t on the GPL with
  regards to your original work. You can choose whatever license, if any.
 
 Not if you want to distribute the GPL'd work, or anything derived from it.

You can distribute on the same medium, at the same time, two different 
programs, one GPL, the other not. No problem. None at all.

  The GPL is only insofar viral as you cannot take something GPLed and 
  just relicense it at will. Not even when you modify it.
 
 Then explain the difference between the LGPL and GPL. A license that 
 preserves itself only is pointless without other terms.

No, it is not.

  However, writing a virtual device that just happens to be dynamically 
  linkable to QEmu, but might just as well be linked to VMWare, is fine. 
  This virtual device is clearly _not_ derived from QEmu.
 
 That allows you to distribute the virtual device by itself, not 
 alongside with Qemu.

To the contrary. You can distribute them both at the same time, under 
different conditions, much like you can distribute QEmu with parts GPL, 
parts LGPL, and parts BSD.

  Besides, QEmu's core is LGPL. Not GPL.
 
 Good point, and makes this entire argument mostly irrelevant.

Not at all. If it was a derivative work of the LGPLed part, it would still 
have to be LGPLed.

   It is undisputed that it would be in violation if the kernel was 
   distributed with the modules.
 
  Nope. It is not undisputed.
 
 It is undisputed by anyone who has ever considered the issue as part of 
 deciding whether or not to do it.

There are distributions which deliver closed source binary-only modules. 
Many LiveCDs for example.

   It is also fairly clear (the opinions of many kernel developers and 
   IP lawyers) that proprietary modules for Linux are illegal to 
   distribute.
 
  Nope. Not at all.
 
 http://www.kroah.com/log/linux/ols_2006_keynote.html

That is Greg's opinion. There are others. Notably Linus'.

  I'd rather have your virtual device open sourced, but if you cannot do 
  that, I'd rather have it closed-source, than not at all.
 
 I would never buy software without source. Hopefully someday I can apply 
 this to hardware as well.

That is your freedom.

Frankly, I get really bored by the license discussions these days. Gone 
seem the days where you discussed code and algorithms on the mailing 
lists. Sigh.

Ciao,
Dscho




[Qemu-devel] QEMU License and proprietary hardware

2007-06-21 Thread Armbrost Failsafe

We are looking into using QEMU as the base for a model of a custom system
featuring some custom ASICs. But licensing issues are halting the process
right now. Does anyone know what happens license-wise if we create a model
of proprietary hardware using QEMU? Is that model automatically covered by
the GPL and thus we have to give to anyone who asks about it? It is clear
that if we keep it internal, it is OK. But anyone outside of our
organization is to use it, shouldn't they automatically be entitled to
receive the entire source of QEMU, including our models of proprietary
devices? Even if these are developed from scratch without using any existing
source code for devices?

/armbrost


Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-21 Thread Luke -Jr
On Thursday 21 June 2007 06:28, Armbrost Failsafe wrote:
 We are looking into using QEMU as the base for a model of a custom system
 featuring some custom ASICs. But licensing issues are halting the process
 right now. Does anyone know what happens license-wise if we create a model
 of proprietary hardware using QEMU? Is that model automatically covered by
 the GPL and thus we have to give to anyone who asks about it? It is clear
 that if we keep it internal, it is OK. But anyone outside of our
 organization is to use it, shouldn't they automatically be entitled to
 receive the entire source of QEMU, including our models of proprietary
 devices? Even if these are developed from scratch without using any
 existing source code for devices?

Yep, that's the purpose of the GPL. It'll probably get a lot of people 
promoting it if you do a public release, too...




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-21 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Luke -Jr [EMAIL PROTECTED] writes:
: On Thursday 21 June 2007 06:28, Armbrost Failsafe wrote:
:  We are looking into using QEMU as the base for a model of a custom system
:  featuring some custom ASICs. But licensing issues are halting the process
:  right now. Does anyone know what happens license-wise if we create a model
:  of proprietary hardware using QEMU? Is that model automatically covered by
:  the GPL and thus we have to give to anyone who asks about it? It is clear
:  that if we keep it internal, it is OK. But anyone outside of our
:  organization is to use it, shouldn't they automatically be entitled to
:  receive the entire source of QEMU, including our models of proprietary
:  devices? Even if these are developed from scratch without using any
:  existing source code for devices?
: 
: Yep, that's the purpose of the GPL. It'll probably get a lot of people 
: promoting it if you do a public release, too...

Well, that all depends on if the models constitute a derivative work
or not.  The GPL only has as much force of law as copyright law gives
it, and in order to be applicable, the work in question must somehow
rely on the GPL'd work.  The somehow here is an interesting legal
question that hasn't been well settled.

In this case, however, chances are excellent that it is a derivative
work and would be covered by the GPL.  IANAL.

Warner




Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-21 Thread Balazs Attila-Mihaly \(Cd-MaN\)
I must prefix this with the fact that IANAL, but as I understand it, you must 
release the source code only if you distribute that modified system (with GPL 
v2). That is, if you use this system internally in you company, you don't have 
to provide your modifications. But if you, for example, provide your clients 
with the modified version, you have the obligation to provide them (your 
clients, not the Qemu community in general) also with the complete source code, 
after which they have the liberty to redistribute the source code under the 
GPL. One solution would be (again, IANAL, so please check with a real lawyer 
:D), is to create an interface to the code you wish to include and put the 
proprietary code in a dynamically linked library which exposes this interface. 
In this case IMHO you have to provide only the code which implements the 
interface in Qemu and loads the shared library, and you would have  no 
obligation regarding the code in the shared library.


- Original Message 

From: Armbrost Failsafe [EMAIL PROTECTED]

To: qemu-devel@nongnu.org

Sent: Thursday, 21 June, 2007 2:28:53 PM

Subject: [Qemu-devel] QEMU License and proprietary hardware



We are looking into using QEMU as the base for a model of a custom system 
featuring some custom ASICs. But licensing issues are halting the process right 
now. Does anyone know what happens license-wise if we create a model of 
proprietary hardware using QEMU? Is that model automatically covered by the GPL 
and thus we have to give to anyone who asks about it? It is clear that if we 
keep it internal, it is OK. But anyone outside of our organization is to use 
it, shouldn't they automatically be entitled to receive the entire source of 
QEMU, including our models of proprietary devices? Even if these are developed 
from scratch without using any existing source code for devices? 



/armbrost



 









  ___ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html