From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVO4z-0006qo-JE for qemu-devel@nongnu.org; Mon, 15 Feb 2016 13:41:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVO4w-0002R0-EE for qemu-devel@nongnu.org; Mon, 15 Feb 2016 13:41:01 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:37902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVO4w-0002Qu-6U for qemu-devel@nongnu.org; Mon, 15 Feb 2016 13:40:58 -0500 Received: by mail-wm0-x230.google.com with SMTP id a4so68072370wme.1 for ; Mon, 15 Feb 2016 10:40:57 -0800 (PST) Received: from donizetti.lan (94-39-170-121.adsl-ull.clienti.tiscali.it. [94.39.170.121]) by smtp.gmail.com with ESMTPSA id 73sm16911873wmy.22.2016.02.15.10.40.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2016 10:40:55 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 15 Feb 2016 19:40:52 +0100 Message-Id: <1455561652-24025-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] 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. Signed-off-by: Paolo Bonzini --- vl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vl.c b/vl.c index 1ec62ac..e600f8d 100644 --- a/vl.c +++ b/vl.c @@ -590,6 +590,7 @@ 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_INTERNAL_ERROR, RUN_STATE_PAUSED }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE }, -- 2.5.0