w32: Fix broken build (missing include file)
PATCH 1/1 w32: Fix broken build (missing include file)
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.
---
dump.* use GPL2 instead of GPL2+. Please fix that!
Regards,
Stefan Weil
dump.c | 4 ---- 1 file changed, 4 deletions(-)
dump.c +0 -4
@@ -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"
Signature · 1 line
1.7.10
Blue Swirl
AppliedThanks, applied.
Quoted 48 lines · Stefan Weil
dump.cwas 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 <[email protected]>---
dump.* use GPL2 instead of GPL2+. Please fix that!
Regards,
Stefan Weildump.c | 4 ----
1 file changed, 4 deletions(-)dump.c +0
-5@@ -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
At 06/07/2012 09:45 PM, Stefan Weil Wrote:
Quoted 10 lines
dump.cwas 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 <[email protected]>
Thanks for your fix. It is OK to me.
Wen Congyang
Quoted 34 lines
---
dump.* use GPL2 instead of GPL2+. Please fix that!
Regards,
Stefan Weildump.c | 4 ---- 1 file changed, 4 deletions(-)dump.c +0
-4@@ -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"
Il 11/06/2012 03:57, Wen Congyang ha scritto:
Quoted 1 line
Quoted 1 line
dump.* use GPL2 instead of GPL2+. Please fix that!
Wen, do you have permissions to release your new files under GPLv2 or later?
Paolo
Quoted 4 lines · Paolo Bonzini
Il 11/06/2012 03:57, Wen Congyang ha scritto:
Quoted 1 line
Quoted 1 line
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.
Quoted 10 lines · Markus Armbruster
Quoted 5 lines · Paolo Bonzini
Il 11/06/2012 03:57, Wen Congyang ha scritto:
Quoted 1 line
Quoted 1 line
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
Signature · 4 lines
Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/search/label/qemu
Am 16.06.2012 20:07, schrieb Artyom Tarasenko:
Quoted 6 lines · Markus Armbruster
Quoted 5 lines
Quoted 3 lines · Paolo Bonzini
Il 11/06/2012 03:57, Wen Congyang ha scritto:
Quoted 1 line
Quoted 1 line
dump.* use GPL2 instead of GPL2+. Please fix that!
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
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
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 10 lines · Andreas Färber
Am 16.06.2012 20:07, schrieb Artyom Tarasenko:
Quoted 9 lines · Markus Armbruster
Quoted 8 lines
Quoted 5 lines · Paolo Bonzini
Il 11/06/2012 03:57, Wen Congyang ha scritto:
Quoted 1 line
Quoted 1 line
dump.* use GPL2 instead of GPL2+. Please fix that!
Wen, do you have permissions to release your new files under GPLv2 or later?
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
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
Quoted 6 lines
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Signature · 4 lines
Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/search/label/qemu
Il 16/06/2012 20:48, Artyom Tarasenko ha scritto:
Quoted 5 lines
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
Quoted 1 line
GPL v2- are not allowed.
Quoted 7 lines · Paolo Bonzini
Il 16/06/2012 20:48, Artyom Tarasenko ha scritto:
Quoted 5 lines
But still, it's not possible for all contributions, right?
To sum this up:
GPL v2+ are allowed
non-GPL contributions are allowed
Quoted 6 lines
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? :)
Quoted 8 lines
Paolo
Quoted 1 line
GPL v2- are not allowed.