From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RImGU-0008Hs-9j for qemu-devel@nongnu.org; Tue, 25 Oct 2011 15:02:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RImGS-0006mA-80 for qemu-devel@nongnu.org; Tue, 25 Oct 2011 15:02:22 -0400 Received: from mail.serverraum.org ([78.47.150.89]:45508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RImGS-0006lU-2U for qemu-devel@nongnu.org; Tue, 25 Oct 2011 15:02:20 -0400 From: Michael Walle Date: Tue, 25 Oct 2011 21:02:15 +0200 References: <2990903a0cc46441449790bcdb216c9b5c895507.1319550280.git.quintela@redhat.com> In-Reply-To: <2990903a0cc46441449790bcdb216c9b5c895507.1319550280.git.quintela@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201110252102.15429.michael@walle.cc> Subject: Re: [Qemu-devel] [PATCH 03/25] vmstate: make all architectures export a way to migrate cpu's List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: aliguori@us.ibm.com, Alexander Graf , qemu-devel@nongnu.org, Max Filippov , Paul Brook , Aurelien Jarno , Richard Henderson Am Dienstag 25 Oktober 2011, 16:00:37 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 [..] > diff --git a/target-lm32/machine.c b/target-lm32/machine.c > index 70ca52a..9014a9f 100644 > --- a/target-lm32/machine.c > +++ b/target-lm32/machine.c > @@ -1,7 +1,7 @@ > #include "hw/hw.h" > #include "hw/boards.h" > > -static const VMStateDescription vmstate_cpu = { > +const VMStateDescription vmstate_cpu = { > .name = "cpu", > .version_id = CPU_SAVE_VERSION, > .minimum_version_id = 1, > diff --git a/target-m68k/machine.c b/target-m68k/machine.c > index e69de29..86b6fe9 100644 [..] Acked-by: Michael Walle -- Michael