From nobody Sun Feb 8 11:07:11 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556244663; cv=none; d=zoho.com; s=zohoarc; b=VvZoCnxgvuDbGrX0PrjFWg3U2oBDivPaxn7mBObgfHnF8FlkzivYAiXwvkKPKhtwepbr1je86UfwpTt/mGx9G0E3Qhl/9CKfA4Vdun5309hxECQuHGLc1iXCxrPAOLBhWNM+icDF+hv7zjIFwZJgzarlPmo5pDKVcTdHvDE7BMk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556244663; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=RGytWi6EAbCkez+cmy7YcJlMtN5a5pzvS3Aj4Gzfm3Q=; b=By8IHKsoqABfj/79btvl8LhB3BVLm2g8NlCHSnpCI01yIGLJQtTwU/1rq8rZ2ClQIzBmJEtPTKkpgr1KBB6XsUPsha/zOvzs2wWC0UHS+tJF6weJxyY2wvvf7Qs4e9o+0iYhyjIDdB7k9A/C6XRf7eUOKJ+ixxpD49U5FmSvRtI= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 155624466310489.99725265137545; Thu, 25 Apr 2019 19:11:03 -0700 (PDT) Received: from localhost ([127.0.0.1]:37948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJqKJ-0007KC-6M for importer@patchew.org; Thu, 25 Apr 2019 22:10:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJqJQ-0006yE-Rz for qemu-devel@nongnu.org; Thu, 25 Apr 2019 22:10:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJqJO-0005ou-Qk for qemu-devel@nongnu.org; Thu, 25 Apr 2019 22:10:04 -0400 Received: from mga02.intel.com ([134.134.136.20]:22753) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hJqJN-0005i8-4k for qemu-devel@nongnu.org; Thu, 25 Apr 2019 22:10:02 -0400 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 19:09:58 -0700 Received: from richard.sh.intel.com (HELO localhost) ([10.239.159.54]) by fmsmga004.fm.intel.com with ESMTP; 25 Apr 2019 19:09:57 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="165183624" From: Wei Yang To: qemu-devel@nongnu.org Date: Fri, 26 Apr 2019 10:09:27 +0800 Message-Id: <20190426020927.25470-1-richardw.yang@linux.intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 134.134.136.20 Subject: [Qemu-devel] [PATCH] memory: correct the comment to DIRTY_MEMORY_MIGRATION X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, Wei Yang Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The dirty bit is DIRTY_MEMORY_MIGRATION. Correct the comment. Signed-off-by: Wei Yang --- memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memory.c b/memory.c index e49369d85d..9d015bfe4c 100644 --- a/memory.c +++ b/memory.c @@ -2576,7 +2576,7 @@ void memory_global_dirty_log_start(void) =20 MEMORY_LISTENER_CALL_GLOBAL(log_global_start, Forward); =20 - /* Refresh DIRTY_LOG_MIGRATION bit. */ + /* Refresh DIRTY_MEMORY_MIGRATION bit. */ memory_region_transaction_begin(); memory_region_update_pending =3D true; memory_region_transaction_commit(); @@ -2586,7 +2586,7 @@ static void memory_global_dirty_log_do_stop(void) { global_dirty_log =3D false; =20 - /* Refresh DIRTY_LOG_MIGRATION bit. */ + /* Refresh DIRTY_MEMORY_MIGRATION bit. */ memory_region_transaction_begin(); memory_region_update_pending =3D true; memory_region_transaction_commit(); --=20 2.19.1