Received: from eggs.gnu.org ([2001:4830:134:3::10]:45257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFIcV-0008Vr-WD for qemu-devel@nongnu.org; Wed, 15 Jul 2015 05:04:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFIcT-0001xS-L5 for qemu-devel@nongnu.org; Wed, 15 Jul 2015 05:04:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFIcT-0001wq-H1 for qemu-devel@nongnu.org; Wed, 15 Jul 2015 05:04:49 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 37897BBB30 for ; Wed, 15 Jul 2015 09:04:49 +0000 (UTC) From: Juan Quintela Date: Wed, 15 Jul 2015 11:04:38 +0200 Message-Id: <1436951080-12390-5-git-send-email-quintela@redhat.com> In-Reply-To: <1436951080-12390-1-git-send-email-quintela@redhat.com> References: <1436951080-12390-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PULL 4/6] migration: Register global state section before loadvm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com, dgilbert@redhat.com Otherwise, it is not found Signed-off-by: Juan Quintela --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vl.c b/vl.c index 3f269dc..5856396 100644 --- a/vl.c +++ b/vl.c @@ -4615,6 +4615,7 @@ int main(int argc, char **argv, char **envp) } qemu_system_reset(VMRESET_SILENT); + register_global_state(); if (loadvm) { if (load_vmstate(loadvm) < 0) { autostart = 0; @@ -4628,7 +4629,6 @@ int main(int argc, char **argv, char **envp) return 0; } - register_global_state(); if (incoming) { Error *local_err = NULL; qemu_start_incoming_migration(incoming, &local_err); -- 2.4.3