From nobody Fri May 3 08:23:26 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1643249263; cv=none; d=zohomail.com; s=zohoarc; b=fjzwm4bVTucmiBRlWTuEiGpSPbLOXgbAV5hMF3sSzAplWsE+SuqE8NeiSZ9kP5m9VErwvsMA7o4gJ9UD/FG54dUtpMqjlx/APARfFDhdsCVroAJnLCoduOgeRCHMhIejkQHW9VfsakRe5N2BUhFSrOd2AnB2wwKKDVh6wgNgaWY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643249263; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Btz49o85PXTqjXReXfGqBW4oPqk5HYgTnlXoAGIx01M=; b=FiJUmwoDSMm8xqh8iJdkFDrkc37F0/Wy93u6aGcOvsvXjA24qCh5s1R0JVuI+bglWXJFBzxjpXc0bhlfNH47/XbA2CPzsIk7RPNXQGlCRcidmrLI30nTGiJkJ/hLUVF+A2bFAwv59iLsak/mYOwHj5yRy5puPCH30xinfHIn0Ww= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 164324926314743.77074596912212; Wed, 26 Jan 2022 18:07:43 -0800 (PST) Received: from localhost ([::1]:35400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCuCM-0001PR-5P for importer@patchew.org; Wed, 26 Jan 2022 21:07:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCu6f-0004J7-B9 for qemu-devel@nongnu.org; Wed, 26 Jan 2022 21:01:49 -0500 Received: from mga12.intel.com ([192.55.52.136]:34870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCu6d-0003E4-Fg for qemu-devel@nongnu.org; Wed, 26 Jan 2022 21:01:48 -0500 Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 18:01:07 -0800 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 18:01:06 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643248907; x=1674784907; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Dxk7HrbUJ1xdGUwu/hpKB95V76rDLqpMIyB333tjdFA=; b=fwkuczoRqPQmoFW9i5q2BwMhHeuVgp6R7UZD3EVqyd0xuxw19B9MdcVQ BpkphieE+euXgxlbBphkk3nRECLQST9/skwwSfShaNqp56liHIlcp3Mky /wc32yqLe3qMeiqLkaq0ZmYBJdA1JzpuUhNPe9hxnyvBvVB6qrxl0IUmj 4FuHJy2rMkd+vZ4aXBseDXs+1VaoddtkVjpGEe5L6NgDOrqiYNO64qtFI lKtVruhDo7NPRRWF292tfACHRPc4meMqRorEcCyrAC36PUWd+bclpkpHd lLcBkGpgxyzHjOl2DOqq2ovjWyN2CLsrLcoK1XbHmbHzooNKV6TB7OyDt Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="226695376" X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208";a="226695376" X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208";a="535434822" From: Zhang Chen To: "Dr. David Alan Gilbert" , Juan Quintela , qemu-dev Subject: [PATCH V2 1/3] migration/migration.c: Add missed default error handler for migration state Date: Thu, 27 Jan 2022 09:49:55 +0800 Message-Id: <20220127014957.3262813-2-chen.zhang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220127014957.3262813-1-chen.zhang@intel.com> References: <20220127014957.3262813-1-chen.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=192.55.52.136; envelope-from=chen.zhang@intel.com; helo=mga12.intel.com X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.155, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1643249265176100001 Content-Type: text/plain; charset="utf-8" In the migration_completion() no other status is expected, for example MIGRATION_STATUS_CANCELLING, MIGRATION_STATUS_CANCELLED, etc. Signed-off-by: Zhang Chen Reviewed-by: Juan Quintela Reviewed-by: Dr. David Alan Gilbert --- migration/migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/migration.c b/migration/migration.c index 0652165610..2afa77da03 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -3205,7 +3205,7 @@ static void migration_completion(MigrationState *s) qemu_mutex_unlock_iothread(); =20 trace_migration_completion_postcopy_end_after_complete(); - } else if (s->state =3D=3D MIGRATION_STATUS_CANCELLING) { + } else { goto fail; } =20 --=20 2.25.1 From nobody Fri May 3 08:23:26 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1643249038; cv=none; d=zohomail.com; s=zohoarc; b=FrfEOkhfzC0U4LR7XgkbaZEPWNUJnsTi3YUNZzRGpvJbXeWH0QERYlEUchmbcuziTJDysk6GlqPDOPcQHHsp5OvBPD2dTXsdeOdMZ4PCSi7RSLIPqn9TGDf8sCRJo8w/IhIpCsF16a85UXbC/bxUsVWOyyJLjv3sAy4EavgwX+0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643249038; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=7BwFcHQIy9tQ4V/Migj1pK6QA+gVYdipOg6mdlOa4Lw=; b=c1EtsQ/+7bz0ri2G7L2kamOhiTDIotqfTCq6Fuyhcmu/HwIq4JwV313uIFqXCoLtbAeXSJw2Egcy8hiZYRNI8PlRB0g1hZON15DvS5167cLh6QHumYvTLpLRJgv1rxe0Yn+lMDzuVwisWUnDQ45P5YPqEOSuHrqno7PzUrFcl3g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1643249038405113.08419272479705; Wed, 26 Jan 2022 18:03:58 -0800 (PST) Received: from localhost ([::1]:58402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCu8j-0006Ef-6f for importer@patchew.org; Wed, 26 Jan 2022 21:03:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCu6i-0004MO-Pi for qemu-devel@nongnu.org; Wed, 26 Jan 2022 21:01:52 -0500 Received: from mga12.intel.com ([192.55.52.136]:34870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCu6f-0003E4-MU for qemu-devel@nongnu.org; Wed, 26 Jan 2022 21:01:52 -0500 Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 18:01:09 -0800 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 18:01:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643248910; x=1674784910; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8vXSJWZPIERlHsE1YsPCqlxHMdQuegU1VTax1D1M9vQ=; b=NAa1JZeigwiLMpBACGU0RQg/4ACufaai4MaAyQD7lXkVjyx9hLyNKANH nchCnzE9edZDPvCNRbrGUsgPzfLWhnGI3KIFGejMtIzTourTn71aKriVP gKCAGtJeuniP3fSID5E2iIZnodiloS/JaSeRgqkeDvqREPaL/gLmyOdzc dSzYDtmTsPW268uWdtqYMUV7o6BmkLMOvuL0If6JnRF6xcINiPYIXjyTu eKKQY9e1+XzHoyDqjcIl8MyDOJXtHVpIYXR7JS+SbYrZwBQnaHAdut3sB 1LGGxhvHUO8ERmz5wjYG7jYq9ZR8BmvP5jDBUa1gMQMIeGW2PIsKuUWoG w==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="226695382" X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208";a="226695382" X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208";a="535434840" From: Zhang Chen To: "Dr. David Alan Gilbert" , Juan Quintela , qemu-dev Subject: [PATCH V2 2/3] migration/migration.c: Avoid COLO boot in postcopy migration Date: Thu, 27 Jan 2022 09:49:56 +0800 Message-Id: <20220127014957.3262813-3-chen.zhang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220127014957.3262813-1-chen.zhang@intel.com> References: <20220127014957.3262813-1-chen.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=192.55.52.136; envelope-from=chen.zhang@intel.com; helo=mga12.intel.com X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.155, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1643249040530100001 Content-Type: text/plain; charset="utf-8" COLO does not support postcopy migration and remove the Fixme. Signed-off-by: Zhang Chen Reviewed-by: Juan Quintela --- migration/migration.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index 2afa77da03..3fac9c67ca 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -3230,7 +3230,11 @@ static void migration_completion(MigrationState *s) goto fail_invalidate; } =20 - if (!migrate_colo_enabled()) { + if (migrate_colo_enabled() && s->state =3D=3D MIGRATION_STATUS_ACTIVE)= { + /* COLO dose not support postcopy */ + migrate_set_state(&s->state, MIGRATION_STATUS_ACTIVE, + MIGRATION_STATUS_COLO); + } else { migrate_set_state(&s->state, current_active_state, MIGRATION_STATUS_COMPLETED); } @@ -3621,10 +3625,6 @@ static void migration_iteration_finish(MigrationStat= e *s) "COLO enabled", __func__); } migrate_start_colo_process(s); - /* - * Fixme: we will run VM in COLO no matter its old running state. - * After exited COLO, we will keep running. - */ /* Fallthrough */ case MIGRATION_STATUS_ACTIVE: /* --=20 2.25.1 From nobody Fri May 3 08:23:26 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1643249399; cv=none; d=zohomail.com; s=zohoarc; b=bCXcYu2i+XjPpAbmh8PyMyTbKpWJwqoUKRJXa8kp5g22Frgr+2OC+0JuNbhFup8lBGqS93UGN/5ZpRgMY0iJPIy5fK7NRRjVKCoy/yf89U4U2sSzvGG4y38/YjLst28JQvwF5U7X3Wm+YLcOuvJp1Axdg94kXs88vlQjyEtStLg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643249399; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=U0NT+w6HnrZ4pJFbKyQmnrq5rBWhHLKAmIqkbvFVLUE=; b=XW8dv1SvGvaI5qI7fdMgHiT0QpIpX7fwwMYs1911kUiuN2HPv9Ss/DhZCN2p8nrY2LkhjkiRE3V9kSb6ddeZvd78yx1dx5ucG0/GKyQggt9kCxdlTJvDecuQJIVdh/MPjRCTKXy/dtFCei0LQdX5qx7/qk57E+ZIN4sXkghtHUU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1643249399461379.4368883921966; Wed, 26 Jan 2022 18:09:59 -0800 (PST) Received: from localhost ([::1]:37868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCuEY-00038p-Jv for importer@patchew.org; Wed, 26 Jan 2022 21:09:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCu6h-0004KE-BI for qemu-devel@nongnu.org; Wed, 26 Jan 2022 21:01:51 -0500 Received: from mga12.intel.com ([192.55.52.136]:34862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCu6f-0003Dp-BY for qemu-devel@nongnu.org; Wed, 26 Jan 2022 21:01:50 -0500 Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 18:01:11 -0800 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 18:01:09 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643248909; x=1674784909; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qCorVAtx5c17zt46uY/woh/THgCnwUFFdfyzFX76r9Y=; b=Y3xJi530gEpZ1iiPrC8Lywnrc5IZiEx4gleTyYG9MGQbqXvJS8VhkKGq Urp7Bjxe5s+Ap85/Yd4O+kiW4UulEAwAcS4HXfl/dfpNzlssoSGCprRp8 F9mJzaDnWPto/MyZrb0lKFaaNVmzQcj16ImULCW0THDaZOkfE4YEnVPUm 3U2EZx2SWSI6U92K0spzgjDGn/Xe3nSyVr4MujDEhEeKcaysg4L2CoxrW uRnLwROXXu9ksrfJpo+++Xvr8n2+8ksHOoEwii7izdTo/anpj83ACPB6v XqlTBAaxWkEhOsghUQQKEjSe5G6cpc+rGDzQZra4ajbAOrMba8Si/+ZIP Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="226695387" X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208";a="226695387" X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208";a="535434850" From: Zhang Chen To: "Dr. David Alan Gilbert" , Juan Quintela , qemu-dev Subject: [PATCH V2 3/3] migration/migration.c: Remove the MIGRATION_STATUS_ACTIVE when migration finished Date: Thu, 27 Jan 2022 09:49:57 +0800 Message-Id: <20220127014957.3262813-4-chen.zhang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220127014957.3262813-1-chen.zhang@intel.com> References: <20220127014957.3262813-1-chen.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=192.55.52.136; envelope-from=chen.zhang@intel.com; helo=mga12.intel.com X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.155, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1643249402265100001 Content-Type: text/plain; charset="utf-8" The MIGRATION_STATUS_ACTIVE indicates that migration is running. Remove it to be handled by the default operation, It should be part of the unknown ending states. Signed-off-by: Zhang Chen Reviewed-by: Juan Quintela --- migration/migration.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index 3fac9c67ca..21e1498f46 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -3625,12 +3625,6 @@ static void migration_iteration_finish(MigrationStat= e *s) "COLO enabled", __func__); } migrate_start_colo_process(s); - /* Fallthrough */ - case MIGRATION_STATUS_ACTIVE: - /* - * We should really assert here, but since it's during - * migration, let's try to reduce the usage of assertions. - */ s->vm_was_running =3D true; /* Fallthrough */ case MIGRATION_STATUS_FAILED: --=20 2.25.1