All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
@ 2012-06-07 13:45 Stefan Weil
  2012-06-09 11:28 ` Blue Swirl
  2012-06-11  1:57 ` Wen Congyang
  0 siblings, 2 replies; 10+ messages in thread
From: Stefan Weil @ 2012-06-07 13:45 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Luiz Capitulino

dump.c was recently added to the code. It unconditionally
includes sys/procfs which is not available with MinGW (w32, w64).

It looks like this file is not needed at all (tested on Linux),
so I removed it completely.

Some other include statements are also redundant because they are
already included in qemu-common, therefore they were removed, too.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---

dump.* use GPL2 instead of GPL2+. Please fix that!

Regards,
Stefan Weil


 dump.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/dump.c b/dump.c
index 0ca14f8..f44ce47 100644
--- a/dump.c
+++ b/dump.c
@@ -12,10 +12,7 @@
  */
 
 #include "qemu-common.h"
-#include <unistd.h>
 #include "elf.h"
-#include <sys/procfs.h>
-#include <glib.h>
 #include "cpu.h"
 #include "cpu-all.h"
 #include "targphys.h"
@@ -23,7 +20,6 @@
 #include "kvm.h"
 #include "dump.h"
 #include "sysemu.h"
-#include "bswap.h"
 #include "memory_mapping.h"
 #include "error.h"
 #include "qmp-commands.h"
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-07 13:45 [Qemu-devel] [PATCH] w32: Fix broken build (missing include file) Stefan Weil
@ 2012-06-09 11:28 ` Blue Swirl
  2012-06-11  1:57 ` Wen Congyang
  1 sibling, 0 replies; 10+ messages in thread
From: Blue Swirl @ 2012-06-09 11:28 UTC (permalink / raw)
  To: Stefan Weil; +Cc: Anthony Liguori, qemu-devel, Luiz Capitulino

Thanks, applied.

On Thu, Jun 7, 2012 at 1:45 PM, Stefan Weil <sw@weilnetz.de> wrote:
> dump.c was recently added to the code. It unconditionally
> includes sys/procfs which is not available with MinGW (w32, w64).
>
> It looks like this file is not needed at all (tested on Linux),
> so I removed it completely.
>
> Some other include statements are also redundant because they are
> already included in qemu-common, therefore they were removed, too.
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>
> dump.* use GPL2 instead of GPL2+. Please fix that!
>
> Regards,
> Stefan Weil
>
>
>  dump.c |    4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/dump.c b/dump.c
> index 0ca14f8..f44ce47 100644
> --- a/dump.c
> +++ b/dump.c
> @@ -12,10 +12,7 @@
>  */
>
>  #include "qemu-common.h"
> -#include <unistd.h>
>  #include "elf.h"
> -#include <sys/procfs.h>
> -#include <glib.h>
>  #include "cpu.h"
>  #include "cpu-all.h"
>  #include "targphys.h"
> @@ -23,7 +20,6 @@
>  #include "kvm.h"
>  #include "dump.h"
>  #include "sysemu.h"
> -#include "bswap.h"
>  #include "memory_mapping.h"
>  #include "error.h"
>  #include "qmp-commands.h"
> --
> 1.7.10
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-07 13:45 [Qemu-devel] [PATCH] w32: Fix broken build (missing include file) Stefan Weil
  2012-06-09 11:28 ` Blue Swirl
@ 2012-06-11  1:57 ` Wen Congyang
  2012-06-11  4:58   ` Paolo Bonzini
  1 sibling, 1 reply; 10+ messages in thread
From: Wen Congyang @ 2012-06-11  1:57 UTC (permalink / raw)
  To: Stefan Weil; +Cc: Anthony Liguori, qemu-devel, Luiz Capitulino

At 06/07/2012 09:45 PM, Stefan Weil Wrote:
> dump.c was recently added to the code. It unconditionally
> includes sys/procfs which is not available with MinGW (w32, w64).
> 
> It looks like this file is not needed at all (tested on Linux),
> so I removed it completely.
> 
> Some other include statements are also redundant because they are
> already included in qemu-common, therefore they were removed, too.
> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>

Thanks for your fix. It is OK to me.

Wen Congyang

> ---
> 
> dump.* use GPL2 instead of GPL2+. Please fix that!
> 
> Regards,
> Stefan Weil
> 
> 
>  dump.c |    4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/dump.c b/dump.c
> index 0ca14f8..f44ce47 100644
> --- a/dump.c
> +++ b/dump.c
> @@ -12,10 +12,7 @@
>   */
>  
>  #include "qemu-common.h"
> -#include <unistd.h>
>  #include "elf.h"
> -#include <sys/procfs.h>
> -#include <glib.h>
>  #include "cpu.h"
>  #include "cpu-all.h"
>  #include "targphys.h"
> @@ -23,7 +20,6 @@
>  #include "kvm.h"
>  #include "dump.h"
>  #include "sysemu.h"
> -#include "bswap.h"
>  #include "memory_mapping.h"
>  #include "error.h"
>  #include "qmp-commands.h"

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-11  1:57 ` Wen Congyang
@ 2012-06-11  4:58   ` Paolo Bonzini
  2012-06-12  7:12     ` Markus Armbruster
  0 siblings, 1 reply; 10+ messages in thread
From: Paolo Bonzini @ 2012-06-11  4:58 UTC (permalink / raw)
  To: Wen Congyang; +Cc: Stefan Weil, Anthony Liguori, qemu-devel, Luiz Capitulino

Il 11/06/2012 03:57, Wen Congyang ha scritto:
>> dump.* use GPL2 instead of GPL2+. Please fix that!

Wen, do you have permissions to release your new files under GPLv2 or later?

Paolo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-11  4:58   ` Paolo Bonzini
@ 2012-06-12  7:12     ` Markus Armbruster
  2012-06-16 18:07       ` Artyom Tarasenko
  0 siblings, 1 reply; 10+ messages in thread
From: Markus Armbruster @ 2012-06-12  7:12 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Stefan Weil, Anthony Liguori, qemu-devel, Luiz Capitulino

Paolo Bonzini <pbonzini@redhat.com> writes:

> Il 11/06/2012 03:57, Wen Congyang ha scritto:
>>> dump.* use GPL2 instead of GPL2+. Please fix that!
>
> Wen, do you have permissions to release your new files under GPLv2 or later?

Don't we require GPLv2+ for all contributions now?  If not, we should.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-12  7:12     ` Markus Armbruster
@ 2012-06-16 18:07       ` Artyom Tarasenko
  2012-06-16 18:31         ` Andreas Färber
  0 siblings, 1 reply; 10+ messages in thread
From: Artyom Tarasenko @ 2012-06-16 18:07 UTC (permalink / raw)
  To: Markus Armbruster
  Cc: Paolo Bonzini, Anthony Liguori, Luiz Capitulino, qemu-devel, Stefan Weil

On 6/12/12, Markus Armbruster <armbru@redhat.com> wrote:
> Paolo Bonzini <pbonzini@redhat.com> writes:
>
>> Il 11/06/2012 03:57, Wen Congyang ha scritto:
>>>> dump.* use GPL2 instead of GPL2+. Please fix that!
>>
>> Wen, do you have permissions to release your new files under GPLv2 or
>> later?
>
> Don't we require GPLv2+ for all contributions now?  If not, we should.
>

I think it's not possible for all contributions. The BSD-like license
can not be removed from a file once it's there. So, the contributions
made to such file do inherit this license, unless they have other
license written directly in the source code. (This is btw, why you
still have to fix the license violation [1,2] happened in 2010).
Moreover, there are explicit places in QEMU source tree [3] which say
BSD-like is the only acceptable license.

Artyom

1. http://lists.gnu.org/archive/html/qemu-devel/2010-12/msg01228.html
2. http://lists.gnu.org/archive/html/qemu-devel/2012-05/msg02408.html
3. http://git.qemu.org/?p=qemu.git;a=blob_plain;f=tcg/LICENSE;hb=master

-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/search/label/qemu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-16 18:07       ` Artyom Tarasenko
@ 2012-06-16 18:31         ` Andreas Färber
  2012-06-16 18:48           ` Artyom Tarasenko
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Färber @ 2012-06-16 18:31 UTC (permalink / raw)
  To: Artyom Tarasenko
  Cc: Anthony Liguori, Stefan Weil, qemu-devel, Markus Armbruster,
	Paolo Bonzini, Luiz Capitulino

Am 16.06.2012 20:07, schrieb Artyom Tarasenko:
> On 6/12/12, Markus Armbruster <armbru@redhat.com> wrote:
>> Paolo Bonzini <pbonzini@redhat.com> writes:
>>
>>> Il 11/06/2012 03:57, Wen Congyang ha scritto:
>>>>> dump.* use GPL2 instead of GPL2+. Please fix that!
>>>
>>> Wen, do you have permissions to release your new files under GPLv2 or
>>> later?
>>
>> Don't we require GPLv2+ for all contributions now?  If not, we should.
>>
> 
> I think it's not possible for all contributions.
[snip]

You're reading this out of context. It's about GPLv2 vs. GPLv2+, not
about GPL vs. BSD/MIT/...

Andreas


-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-16 18:31         ` Andreas Färber
@ 2012-06-16 18:48           ` Artyom Tarasenko
  2012-07-01 14:26             ` Paolo Bonzini
  0 siblings, 1 reply; 10+ messages in thread
From: Artyom Tarasenko @ 2012-06-16 18:48 UTC (permalink / raw)
  To: Andreas Färber
  Cc: Anthony Liguori, Stefan Weil, qemu-devel, Markus Armbruster,
	Paolo Bonzini, Luiz Capitulino

On Sat, Jun 16, 2012 at 8:31 PM, Andreas Färber <afaerber@suse.de> wrote:
> Am 16.06.2012 20:07, schrieb Artyom Tarasenko:
>> On 6/12/12, Markus Armbruster <armbru@redhat.com> wrote:
>>> Paolo Bonzini <pbonzini@redhat.com> writes:
>>>
>>>> Il 11/06/2012 03:57, Wen Congyang ha scritto:
>>>>>> dump.* use GPL2 instead of GPL2+. Please fix that!
>>>>
>>>> Wen, do you have permissions to release your new files under GPLv2 or
>>>> later?
>>>
>>> Don't we require GPLv2+ for all contributions now?  If not, we should.
>>>
>>
>> I think it's not possible for all contributions.
> [snip]
>
> You're reading this out of context. It's about GPLv2 vs. GPLv2+, not
> about GPL vs. BSD/MIT/...

But still, it's not possible for all contributions, right?

To sum this up:
GPL v2+ are allowed
non-GPL contributions are allowed
GPL v2- are not allowed.

Am I missing something?

Artyom


> Andreas
>
>
> --
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/search/label/qemu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-06-16 18:48           ` Artyom Tarasenko
@ 2012-07-01 14:26             ` Paolo Bonzini
  2012-07-03 18:50               ` Blue Swirl
  0 siblings, 1 reply; 10+ messages in thread
From: Paolo Bonzini @ 2012-07-01 14:26 UTC (permalink / raw)
  To: Artyom Tarasenko
  Cc: Anthony Liguori, Stefan Weil, qemu-devel, Luiz Capitulino,
	Andreas Färber, Markus Armbruster

Il 16/06/2012 20:48, Artyom Tarasenko ha scritto:
> But still, it's not possible for all contributions, right?
> 
> To sum this up:
> GPL v2+ are allowed
> non-GPL contributions are allowed

Yes, as long as they are GPLv2- and v3-compatible.  So for example no
Apache license (just a theoretical case, but worth mentioning for
completeness), because it's not GPLv2-compatible.

I'm not aware of any license that is GPLv2-compatible but not GPLv3, but
there must be one hiding somewhere. :)

Paolo

> GPL v2- are not allowed.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file)
  2012-07-01 14:26             ` Paolo Bonzini
@ 2012-07-03 18:50               ` Blue Swirl
  0 siblings, 0 replies; 10+ messages in thread
From: Blue Swirl @ 2012-07-03 18:50 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Anthony Liguori, Markus Armbruster, Stefan Weil, qemu-devel,
	Luiz Capitulino, Andreas Färber, Artyom Tarasenko

On Sun, Jul 1, 2012 at 2:26 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
> Il 16/06/2012 20:48, Artyom Tarasenko ha scritto:
>> But still, it's not possible for all contributions, right?
>>
>> To sum this up:
>> GPL v2+ are allowed
>> non-GPL contributions are allowed
>
> Yes, as long as they are GPLv2- and v3-compatible.  So for example no
> Apache license (just a theoretical case, but worth mentioning for
> completeness), because it's not GPLv2-compatible.
>
> I'm not aware of any license that is GPLv2-compatible but not GPLv3, but
> there must be one hiding somewhere. :)

GPLv2only? :)

>
> Paolo
>
>> GPL v2- are not allowed.
>
>
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-03 18:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-07 13:45 [Qemu-devel] [PATCH] w32: Fix broken build (missing include file) Stefan Weil
2012-06-09 11:28 ` Blue Swirl
2012-06-11  1:57 ` Wen Congyang
2012-06-11  4:58   ` Paolo Bonzini
2012-06-12  7:12     ` Markus Armbruster
2012-06-16 18:07       ` Artyom Tarasenko
2012-06-16 18:31         ` Andreas Färber
2012-06-16 18:48           ` Artyom Tarasenko
2012-07-01 14:26             ` Paolo Bonzini
2012-07-03 18:50               ` Blue Swirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.