Received: from eggs.gnu.org ([2001:4830:134:3::10]:42694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aViad-0003Lj-Cb for qemu-devel@nongnu.org; Tue, 16 Feb 2016 11:35:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aViaZ-00078J-IJ for qemu-devel@nongnu.org; Tue, 16 Feb 2016 11:35:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aViaZ-00078C-Cx for qemu-devel@nongnu.org; Tue, 16 Feb 2016 11:34:59 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 124575A44 for ; Tue, 16 Feb 2016 16:34:59 +0000 (UTC) Received: from donizetti.redhat.com (ovpn-112-51.ams2.redhat.com [10.36.112.51]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1GGYlLc023440 for ; Tue, 16 Feb 2016 11:34:58 -0500 From: Paolo Bonzini Date: Tue, 16 Feb 2016 17:34:25 +0100 Message-Id: <1455640486-6101-8-git-send-email-pbonzini@redhat.com> In-Reply-To: <1455640486-6101-1-git-send-email-pbonzini@redhat.com> References: <1455640486-6101-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 07/28] vl: fix migration from prelaunch state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Reproducer is simply to migrate a virtual machine that was started with -S, or that was already migrated. Signed-off-by: Paolo Bonzini --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index 76dfb54..2e0116e 100644 --- a/vl.c +++ b/vl.c @@ -590,6 +590,8 @@ static const RunStateTransition runstate_transitions_def[] = { { RUN_STATE_INMIGRATE, RUN_STATE_WATCHDOG }, { RUN_STATE_INMIGRATE, RUN_STATE_GUEST_PANICKED }, { RUN_STATE_INMIGRATE, RUN_STATE_FINISH_MIGRATE }, + { RUN_STATE_INMIGRATE, RUN_STATE_PRELAUNCH }, + { RUN_STATE_INMIGRATE, RUN_STATE_POSTMIGRATE }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE }, -- 2.5.0