From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 791EDC4338F for ; Mon, 2 Aug 2021 08:01:00 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E4C696023B for ; Mon, 2 Aug 2021 08:00:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E4C696023B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:58548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mASsc-0004dK-Ju for qemu-devel@archiver.kernel.org; Mon, 02 Aug 2021 04:00:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mASrr-0003ww-6H for qemu-devel@nongnu.org; Mon, 02 Aug 2021 04:00:11 -0400 Received: from mga17.intel.com ([192.55.52.151]:32602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mASrp-0001np-0q for qemu-devel@nongnu.org; Mon, 02 Aug 2021 04:00:10 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10063"; a="193690364" X-IronPort-AV: E=Sophos;i="5.84,288,1620716400"; d="scan'208";a="193690364" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2021 00:59:52 -0700 X-IronPort-AV: E=Sophos;i="5.84,288,1620716400"; d="scan'208";a="666478807" Received: from yisun1-ubuntu.bj.intel.com (HELO yi.y.sun) ([10.238.156.104]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA256; 02 Aug 2021 00:59:41 -0700 Date: Mon, 2 Aug 2021 15:53:49 +0800 From: Yi Sun To: jianjay.zhou@huawei.com Subject: Question about delaying dirty log stop to next vm_start Message-ID: <20210802075349.GA2565@yi.y.sun> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Received-SPF: none client-ip=192.55.52.151; envelope-from=yi.y.sun@linux.intel.com; helo=mga17.intel.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, yi.l.liu@intel.com, sanjay.k.kumar@intel.com, qemu-devel@nongnu.org, yi.y.sun@linux.intel.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hi, Jay, We are testing some live migration cases recently. We found your below patch delays the dirty log stop to the next vm_start. commit 1931076077254a2886daa7c830c7838ebd1f81ef Author: Jay Zhou Date: Fri Jul 28 18:28:53 2017 +0800 migration: optimize the downtime We understand this commit can optimize the downtime. But we observed that the dirty log stop cannot be executed if user inputs "quit" in qemu monitor after migration completes. Have you considered such case before? Any suggestion? Thanks! BRs, Yi Sun