From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SROQm-0001C7-8L for qemu-devel@nongnu.org; Mon, 07 May 2012 09:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SROQj-0004qF-Jt for qemu-devel@nongnu.org; Mon, 07 May 2012 09:56:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SROQj-0004pt-Bx for qemu-devel@nongnu.org; Mon, 07 May 2012 09:56:49 -0400 From: Luiz Capitulino Date: Mon, 7 May 2012 10:56:52 -0300 Message-Id: <1336399015-11269-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1336399015-11269-1-git-send-email-lcapitulino@redhat.com> References: <1336399015-11269-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 1/4] wakeup on migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, kraxel@redhat.com, mdroth@linux.vnet.ibm.com From: Gerd Hoffmann Wakeup the guest when the live part of the migation is finished. This avoids being in suspended state on migration, so we don't have to save the is_suspended bit. Signed-off-by: Gerd Hoffmann Reviewed-by: Luiz Capitulino --- migration.c | 1 + 1 file changed, 1 insertion(+) diff --git a/migration.c b/migration.c index 94f7839..f9e968e 100644 --- a/migration.c +++ b/migration.c @@ -252,6 +252,7 @@ static void migrate_fd_put_ready(void *opaque) int old_vm_running = runstate_is_running(); DPRINTF("done iterating\n"); + qemu_system_wakeup_request(QEMU_WAKEUP_REASON_OTHER); vm_stop_force_state(RUN_STATE_FINISH_MIGRATE); if (qemu_savevm_state_complete(s->file) < 0) { -- 1.7.9.2.384.g4a92a