Andreas Färber <afaer...@suse.de> wrote: > Am 25.10.2011 16:00, schrieb Juan Quintela: >> This makes several changes: >> - exports VMStateDescription vmstate_cpu non-static. >> - makes sure that every cpu has a vmstate_cpu or cpu_save/load defined >> - for the architecture that had nothing, it just register the cpu as >> unmigratable. >> - Depending on CPU_SAVE_VERSION we register old/new migration style >> >> Signed-off-by: Juan Quintela <quint...@redhat.com> > > I like that move in general. > >> diff --git a/target-m68k/machine.c b/target-m68k/machine.c >> index e69de29..86b6fe9 100644 >> --- a/target-m68k/machine.c >> +++ b/target-m68k/machine.c >> @@ -0,0 +1,10 @@ >> + >> +#include "hw/hw.h" >> + >> +/* To make this architecture migratable, we need to define cpu state >> + here. Other things need to be done elsewhere */ >> + >> +const VMStateDescription vmstate_cpu = { >> + .name = "cpu", >> + .unmigratable = 1, >> +}; > > Here ... > >> diff --git a/target-sh4/machine.c b/target-sh4/machine.c >> index e69de29..86b6fe9 100644 >> --- a/target-sh4/machine.c >> +++ b/target-sh4/machine.c >> @@ -0,0 +1,10 @@ >> + >> +#include "hw/hw.h" >> + >> +/* To make this architecture migratable, we need to define cpu state >> + here. Other things need to be done elsewhere */ >> + >> +const VMStateDescription vmstate_cpu = { >> + .name = "cpu", >> + .unmigratable = 1, >> +}; > > ... and here you sort-of create new files (empty before) without a > license header. The contents is trivial right now, but it would get a > case for the Wiki trying to figure out what license to put on other > people's code.
None of target-*/machine.c files have a license line. I can put the normal boilerplate on them, but I have just transformed them, So .. who should I put as copyright owner? Puting me is (at least) a bit presumptuous, if not just plain false O:-) Later, Juan.