Skip to contentSkip to conversation

vmstate: Add copyrights for all cpus

RFC Superseded Juan Quintela 10 participants 14 messages Nov 7, 2011 – Nov 14, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

RFC 1/1 vmstate: Add copyrights for all cpus

Hi

This patch adds copyrights to all the machine description files for all architectures supported. (this is done on top of my vmstate-cpus series patches) The problem?

- What should we put as "copyirght" owners.

Althought I modified almost every line of the files, mostly of the changes are a conversion, so claiming myself as the only "copyright" owner sounds at least pretentious, and more than probably false.

I tried to "dig" into the git logs and tried to came with "whoever" commit the initial cpu_save/load foar each architecture. I have put them as:

* Based on qemu-file support done by:
* Richard Henderson <[email protected]>

But I would preffer that the persons involved state what copyright notice they want, name, address, year(s), etc. (Some architectures already have a propper copyright notice, I didn't touch them), and others had an empty file (I put mine there on the previosu series).

Several of the logs are from the svn days, and then I don't know if the person was the committer, or the author. If anyone contributed to the functionality and want to add its copyright, please told me.

To make things more complicated, when machine.c files were split from vl.c, they didn't carry any copyright notice at all, should we copy back everything from vl.c?

To make things more complicated, it looks like Thiemo Seufer did the original mips support, and he passed away. So he can't obviously comment.

Anthony asked me to send a patch to the list, asking form comments.

alpha:
CC: Richard Henderson <[email protected]>

arm:
CC: Andrzej Zaborowski <[email protected]>

(it appears as balrog, but on irc channel peter told me that balrog has him)

cris:
CC: Edgar E. Iglesias <[email protected]>

i386:

Fabrice Bellard?

* Copyright (c) 2003-2008 Fabrice Bellard

Didn't cc'd him because he left project/didn't have email address on MAINTAINERS/vl.c. If you think that I should cc'd to him, just let me know.

lm32:

CC Michael Walle <[email protected]>

mips:

Thiemo Seufer?

ppc & sparc:

CC Blue Swirl <[email protected]>

What do you think, what should we do? Juan.

---
 target-alpha/vmstate-cpu.c |   15 +++++++++++++++
 target-arm/vmstate-cpu.c   |   15 +++++++++++++++
 target-cris/vmstate-cpu.c  |   15 +++++++++++++++
 target-i386/vmstate-cpu.c  |   15 +++++++++++++++
 target-lm32/vmstate-cpu.c  |   15 +++++++++++++++
 target-mips/vmstate-cpu.c  |   15 +++++++++++++++
 target-ppc/vmstate-cpu.c   |   15 +++++++++++++++
 target-sparc/vmstate-cpu.c |   15 +++++++++++++++
 8 files changed, 120 insertions(+), 0 deletions(-)
target-alpha/vmstate-cpu.c +15 -0
index 156cb74..5525fab 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for alpha cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *   Richard Henderson <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static int get_fpcr(QEMUFile *f, void *opaque, size_t size)
target-arm/vmstate-cpu.c +15 -0
index 836d9ed..4435540 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for arm cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Andrzej Zaborowski <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static bool feature_vfp_needed(void *opaque)
target-cris/vmstate-cpu.c +15 -0
index 0f732d3..bbccb8b 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for cris cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Edgar E. Iglesias <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static const VMStateDescription vmstate_tlbset = {
target-i386/vmstate-cpu.c +15 -0
index 838983e..8bb7ca8 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for x86 cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Fabrice Bellard
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static const VMStateDescription vmstate_segment = {
target-lm32/vmstate-cpu.c +15 -0
index 60b4b29..99ce957 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for lm32 cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Michael Walle <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 const VMStateDescription vmstate_cpu = {
target-mips/vmstate-cpu.c +15 -0
index d6d7830..6b63af6 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for mips cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Thiemo Seufer
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static const VMStateDescription vmstate_tc = {
target-ppc/vmstate-cpu.c +15 -0
index 1664d32..48dbc1a 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for ppc cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Blue Swirl <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static const VMStateDescription vmstate_tlb = {
target-sparc/vmstate-cpu.c +15 -0
index 259db19..35f9b0f 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for sparc cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Blue Swirl <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static const VMStateDescription vmstate_cpu_timer = {
Signature · 1 line
1.7.7
#1 lore raw
Quoted 2 lines · Juan Quintela

+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.

... or later please.

Paolo

#2 lore raw
Quoted 5 lines · Paolo Bonzini
Quoted 2 lines · Juan Quintela

+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.

... or later please.

I thougth I had forgot something to ask O:-)

Later, Juan.

#3 lore raw
In reply to Paolo Bonzini
Quoted 6 lines · Paolo Bonzini
Quoted 3 lines · Juan Quintela

+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.

... or later please.

Need to be careful here. Marking something previously unmarked as GPLv2 is pretty clearly OK because the project license is v2 so the unmarked stuff was contributed either under that or under a compatible license. Marking as v2+ is on somewhat thinner ice IMHO and ideally we shouldn't do it without an ack from the relevant copyright owner.

-- PMM

#4 lore raw
Quoted 10 lines · Peter Maydell
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.

... or later please.

Need to be careful here. Marking something previously unmarked as GPLv2 is pretty clearly OK because the project license is v2 so the unmarked stuff was contributed either under that or under a compatible license. Marking as v2+ is on somewhat thinner ice IMHO and ideally we shouldn't do it without an ack from the relevant copyright owner.

Richard Fontana (who is not our lawyer, but still knows the GPL pretty well) posted a while ago his reasoning as to why it should be safe to consider files without a header to be GPLv2+. Of course this is only as long as they do not contain GPLv2-only code from non-QEMU sources.

Paolo

#5 lore raw
In reply to Juan Quintela
Quoted 49 lines · Juan Quintela

Hi

This patch adds copyrights to all the machine description files for all architectures supported. (this is done on top of my vmstate-cpus series patches) The problem?

- What should we put as "copyirght" owners.

Althought I modified almost every line of the files, mostly of the changes are a conversion, so claiming myself as the only "copyright" owner sounds at least pretentious, and more than probably false.

I tried to "dig" into the git logs and tried to came with "whoever" commit the initial cpu_save/load foar each architecture. I have put them as:

* Based on qemu-file support done by:
* Richard Henderson <[email protected]>

But I would preffer that the persons involved state what copyright notice they want, name, address, year(s), etc. (Some architectures already have a propper copyright notice, I didn't touch them), and others had an empty file (I put mine there on the previosu series).

Several of the logs are from the svn days, and then I don't know if the person was the committer, or the author. If anyone contributed to the functionality and want to add its copyright, please told me.

To make things more complicated, when machine.c files were split from vl.c, they didn't carry any copyright notice at all, should we copy back everything from vl.c?

To make things more complicated, it looks like Thiemo Seufer did the original mips support, and he passed away. So he can't obviously comment.

Anthony asked me to send a patch to the list, asking form comments.

alpha:
CC: Richard Henderson <[email protected]>

arm:
CC: Andrzej Zaborowski <[email protected]>

(it appears as balrog, but on irc channel peter told me that balrog has him)

cris:
CC: Edgar E. Iglesias <[email protected]>

...

Quoted 14 lines

static bool feature_vfp_needed(void *opaque)

target-cris/vmstate-cpu.c +8 -0
index 0f732d3..bbccb8b 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for cris cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *

target-cris/vmstate-cpu.c line 18

Quoted 10 lines
target-cris/vmstate-cpu.c +7 -0
+ * Based on qemu-file support done by:
+ *  Edgar E. Iglesias <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static const VMStateDescription vmstate_tlbset = {

Hi Juan,

This is OK with me

Thanks,
Edgar

#6 lore raw
Quoted 24 lines · Edgar E. Iglesias
Quoted 23 lines · Juan Quintela

static bool feature_vfp_needed(void *opaque)

target-cris/vmstate-cpu.c +15 -0
index 0f732d3..bbccb8b 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for cris cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela<[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Edgar E. Iglesias<[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
Quoted 6 lines

target-cris/vmstate-cpu.c line 18

Quoted 1 line
target-cris/vmstate-cpu.c +0 -0
  static const VMStateDescription vmstate_tlbset = {

Hi Juan,

This is OK with me

Please give an explicit Acked-by for the commit. I'd like there to be a clear history in git of these types of changes.

Regards,

Anthony Liguori

Quoted 4 lines

Thanks,
Edgar

#7 lore raw
Quoted 30 lines · Anthony Liguori
Quoted 29 lines · Edgar E. Iglesias
Quoted 14 lines · Juan Quintela

static bool feature_vfp_needed(void *opaque)

target-cris/vmstate-cpu.c +8 -0
index 0f732d3..bbccb8b 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for cris cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela<[email protected]>
+ *

target-cris/vmstate-cpu.c line 18

Quoted 10 lines
target-cris/vmstate-cpu.c +7 -0
+ * Based on qemu-file support done by:
+ *  Edgar E. Iglesias<[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 static const VMStateDescription vmstate_tlbset = {

Hi Juan,

Quoted 4 lines
Quoted 1 line

This is OK with me

Please give an explicit Acked-by for the commit. I'd like there to be a clear history in git of these types of changes.

OK:

Cheers

Acked-by on v1 1/1
#9 lore raw
In reply to Juan Quintela

Am Montag 07 November 2011, 18:38:49 schrieb Juan Quintela:

Quoted 13 lines
target-lm32/vmstate-cpu.c +8 -0
index 60b4b29..99ce957 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for lm32 cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *

target-lm32/vmstate-cpu.c line 18

Quoted 10 lines
target-lm32/vmstate-cpu.c +7 -0
+ * Based on qemu-file support done by:
+ *  Michael Walle <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
 #include "hw/hw.h"
 
 const VMStateDescription vmstate_cpu = {
Signature · 1 line
Michael
Acked-by on v1 1/1
#10 lore raw
In reply to Juan Quintela
Quoted 30 lines · Juan Quintela

This patch adds copyrights to all the machine description files for all architectures supported. (this is done on top of my vmstate-cpus series patches) The problem?

- What should we put as "copyirght" owners.

Althought I modified almost every line of the files, mostly of the changes are a conversion, so claiming myself as the only "copyright" owner sounds at least pretentious, and more than probably false.

I tried to "dig" into the git logs and tried to came with "whoever" commit the initial cpu_save/load foar each architecture.  I have put them as:

 * Based on qemu-file support done by:
 *   Richard Henderson <[email protected]>

But I would preffer that the persons involved state what copyright notice they want, name, address, year(s), etc.  (Some architectures already have a propper copyright notice, I didn't touch them), and others had an empty file (I put mine there on the previosu series).

Several of the logs are from the svn days, and then I don't know if the person was the committer, or the author.  If anyone contributed to the functionality and want to add its copyright, please told me.

To make things more complicated, when machine.c files were split from vl.c, they didn't carry any copyright notice at all, should we copy back everything from vl.c?

Quoted 5 lines

To make things more complicated, it looks like Thiemo Seufer did the original mips support, and he passed away.  So he can't obviously comment.

Anthony asked me to send a patch to the list, asking form comments.

Cheers

#11 lore raw
In reply to Juan Quintela
Quoted 12 lines · Juan Quintela

Hi

This patch adds copyrights to all the machine description files for all architectures supported. (this is done on top of my vmstate-cpus series patches) The problem?

- What should we put as "copyirght" owners.

Althought I modified almost every line of the files, mostly of the changes are a conversion, so claiming myself as the only "copyright" owner sounds at least pretentious, and more than probably false.

Quoted 6 lines

I tried to "dig" into the git logs and tried to came with "whoever" commit the initial cpu_save/load foar each architecture.  I have put them as:

 * Based on qemu-file support done by:
 *   Richard Henderson <[email protected]>

I don't think this is correct at all.

Quoted 5 lines

But I would preffer that the persons involved state what copyright notice they want, name, address, year(s), etc.  (Some architectures already have a propper copyright notice, I didn't touch them), and others had an empty file (I put mine there on the previosu series).

Quoted 7 lines

Several of the logs are from the svn days, and then I don't know if the person was the committer, or the author.  If anyone contributed to the functionality and want to add its copyright, please told me.

To make things more complicated, when machine.c files were split from vl.c, they didn't carry any copyright notice at all, should we copy back everything from vl.c?

Yes, vl.c says Copyright (c) 2003-2008 Fabrice Bellard and its license is BSD like, not GPLv2only. I'd use those as a starting point for machine files originating from vl.c.

Quoted 20 lines

To make things more complicated, it looks like Thiemo Seufer did the original mips support, and he passed away.  So he can't obviously comment.

Anthony asked me to send a patch to the list, asking form comments.

alpha:
CC: Richard Henderson <[email protected]>

arm:
CC: Andrzej Zaborowski <[email protected]>

 (it appears as balrog, but on irc channel peter told me that balrog has him)

cris:
CC: Edgar E. Iglesias <[email protected]>

i386:

Quoted 7 lines

Fabrice Bellard?

 * Copyright (c) 2003-2008 Fabrice Bellard

Didn't cc'd him because he left project/didn't have email address on MAINTAINERS/vl.c.  If you think that I should cc'd to him, just let me know.

Yes.

Quoted 11 lines

lm32:

CC Michael Walle <[email protected]>

mips:

Thiemo Seufer?

ppc & sparc:

CC Blue Swirl <[email protected]>

Sparc: I think I was behind e80cfcfc8884400e826328b772971913a14d0f44 aka SVN 1179 but Fabrice's hand was there too especially in later commits.

PPC: OK except for license. Most definitely Nack for GPLv2only.

Quoted 2 lines

What do you think, what should we do?  Juan.

In general the approach is fine.

Quoted 201 lines

---
 target-alpha/vmstate-cpu.c |   15 +++++++++++++++

 target-arm/vmstate-cpu.c   |   15 +++++++++++++++
 target-cris/vmstate-cpu.c  |   15 +++++++++++++++
 target-i386/vmstate-cpu.c  |   15 +++++++++++++++
 target-lm32/vmstate-cpu.c  |   15 +++++++++++++++
 target-mips/vmstate-cpu.c  |   15 +++++++++++++++
 target-ppc/vmstate-cpu.c   |   15 +++++++++++++++
 target-sparc/vmstate-cpu.c |   15 +++++++++++++++
 8 files changed, 120 insertions(+), 0 deletions(-)
target-alpha/vmstate-cpu.c +15 -0
index 156cb74..5525fab 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for alpha cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *   Richard Henderson <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  static int get_fpcr(QEMUFile *f, void *opaque, size_t size)
target-arm/vmstate-cpu.c +15 -0
index 836d9ed..4435540 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for arm cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Andrzej Zaborowski <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  static bool feature_vfp_needed(void *opaque)
target-cris/vmstate-cpu.c +15 -0
index 0f732d3..bbccb8b 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for cris cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Edgar E. Iglesias <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  static const VMStateDescription vmstate_tlbset = {
target-i386/vmstate-cpu.c +15 -0
index 838983e..8bb7ca8 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for x86 cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Fabrice Bellard
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  static const VMStateDescription vmstate_segment = {
target-lm32/vmstate-cpu.c +15 -0
index 60b4b29..99ce957 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for lm32 cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Michael Walle <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  const VMStateDescription vmstate_cpu = {
target-mips/vmstate-cpu.c +15 -0
index d6d7830..6b63af6 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for mips cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Thiemo Seufer
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  static const VMStateDescription vmstate_tc = {
target-ppc/vmstate-cpu.c +15 -0
index 1664d32..48dbc1a 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for ppc cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Blue Swirl <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  static const VMStateDescription vmstate_tlb = {
target-sparc/vmstate-cpu.c +15 -1
index 259db19..35f9b0f 100644
@@ -1,3 +1,18 @@
+/*
+ * Migration support for sparc cpus
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ *  Juan Quintela <[email protected]>
+ *
+ * Based on qemu-file support done by:
+ *  Blue Swirl <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ */
+
  #include "hw/hw.h"
 
  static const VMStateDescription vmstate_cpu_timer = {
--

1.7.7

#12 lore raw
Quoted 13 lines · Blue Swirl
Quoted 12 lines · Juan Quintela

Hi

This patch adds copyrights to all the machine description files for all architectures supported. (this is done on top of my vmstate-cpus series patches) The problem?

- What should we put as "copyirght" owners.

Althought I modified almost every line of the files, mostly of the changes are a conversion, so claiming myself as the only "copyright" owner sounds at least pretentious, and more than probably false.

Quoted 8 lines
Quoted 6 lines

I tried to "dig" into the git logs and tried to came with "whoever" commit the initial cpu_save/load foar each architecture.  I have put them as:

 * Based on qemu-file support done by:
 *   Richard Henderson <[email protected]>

I don't think this is correct at all.

I posted it as an example to start the discussion. If you don't like it, an specific example of what to do would be perfect O:-)

I think I put it somewhere that I just stole it from hw/virtio-serial-bus.c (i.e. it is not even mine).

Quoted 9 lines
Quoted 9 lines

But I would preffer that the persons involved state what copyright notice they want, name, address, year(s), etc.  (Some architectures already have a propper copyright notice, I didn't touch them), and others had an empty file (I put mine there on the previosu series).

Several of the logs are from the svn days, and then I don't know if the person was the committer, or the author.  If anyone contributed to the functionality and want to add its copyright, please told me.

Quoted 7 lines
Quoted 3 lines

To make things more complicated, when machine.c files were split from vl.c, they didn't carry any copyright notice at all, should we copy back everything from vl.c?

Yes, vl.c says Copyright (c) 2003-2008 Fabrice Bellard and its license is BSD like, not GPLv2only. I'd use those as a starting point for machine files originating from vl.c.

/*
* QEMU System Emulator
*
* Copyright (c) 2003-2008 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/

Quoted 22 lines
Quoted 22 lines

To make things more complicated, it looks like Thiemo Seufer did the original mips support, and he passed away.  So he can't obviously comment.

Anthony asked me to send a patch to the list, asking form comments.

alpha:
CC: Richard Henderson <[email protected]>

arm:
CC: Andrzej Zaborowski <[email protected]>

 (it appears as balrog, but on irc channel peter told me that balrog has him)

cris:
CC: Edgar E. Iglesias <[email protected]>

i386:

Fabrice Bellard?

Quoted 7 lines
Quoted 5 lines

 * Copyright (c) 2003-2008 Fabrice Bellard

Didn't cc'd him because he left project/didn't have email address on MAINTAINERS/vl.c.  If you think that I should cc'd to him, just let me know.

Yes.

google says: [email protected]

Sending second round later.

Quoted 8 lines
Quoted 8 lines

lm32:

CC Michael Walle <[email protected]>

mips:

Thiemo Seufer?

Quoted 7 lines
Quoted 3 lines

ppc & sparc:

CC Blue Swirl <[email protected]>

Sparc: I think I was behind e80cfcfc8884400e826328b772971913a14d0f44 aka SVN 1179 but Fabrice's hand was there too especially in later commits.

Going to send another one with you & Fabrice.

Quoted 1 line

PPC: OK except for license. Most definitely Nack for GPLv2only.

As Paolo said, once here, it is better to move to GPL2 or later, or you preffer the one directly from vl.c?

Quoted 3 lines
Quoted 1 line

What do you think, what should we do?  Juan.

In general the approach is fine.

As everybody cc'd answered by know, sending second round with suggestions/corrections and adding Fabrice.

Thanks, Juan.

#13 lore raw
In reply to Juan Quintela

Am 07.11.2011 18:38, schrieb Juan Quintela:

Quoted 6 lines

I tried to "dig" into the git logs and tried to came with "whoever" commit the initial cpu_save/load foar each architecture. I have put them as:

* Based on qemu-file support done by:
* Richard Henderson <[email protected]>

I don't really associate much with the term "qemu-file support". Sounds more like QEMUFile and file system wrapper functions.
savevm or serialization format or the like might be more understandable?

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