From nobody Sun Feb 8 21:28:33 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=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1559447460; cv=none; d=zoho.com; s=zohoarc; b=KY9VZ/DpnMoaLZLK99u0GIcUW3H7WrNtgSnVC31JekEMfXnceb+l637P7j17VK+d6+DlgoAO3DtW7Mx34BG0pGx7tLqeYJ4bBuSTz/HngBrNmMmGUGpKYFUmFncvh0rCiIVKffx2cvTA4etIa9aUeR8ZIiigAo61w09YoEZC6r8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559447460; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=GOu7jjlGkqpFsWISWhzS/lthlQ6jbhPtCPRbxqZJIaQ=; b=UEaIqN9/vY545mqFCAdfPPm5ZCC3pKsv124VimWOpd3joI8kD6SYw2Vmp4Na9TUZdpPvRdt2qZ0rTx+Dp+jbssTc6QcMoq4nJihxhlYSTSaNn6QrG9K9FQN8fnIsMz4YTRc7e1uR7ZU0iU9Y3HePmocAAKX1hyNuieipW1/1EFc= 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 1559447460644248.41475231362847; Sat, 1 Jun 2019 20:51:00 -0700 (PDT) Received: from localhost ([127.0.0.1]:44501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXHWL-0001DO-Mb for importer@patchew.org; Sat, 01 Jun 2019 23:50:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXHSr-0007EC-1I for qemu-devel@nongnu.org; Sat, 01 Jun 2019 23:47:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXHSq-0003Cu-0F for qemu-devel@nongnu.org; Sat, 01 Jun 2019 23:47:20 -0400 Received: from mga12.intel.com ([192.55.52.136]:51833) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXHSp-00030z-Ns for qemu-devel@nongnu.org; Sat, 01 Jun 2019 23:47:19 -0400 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jun 2019 20:47:19 -0700 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by orsmga005.jf.intel.com with ESMTP; 01 Jun 2019 20:47:17 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 From: Zhang Chen To: Li Zhijian , "Dr. David Alan Gilbert" , Juan Quintela , zhanghailiang , Jason Wang , qemu-dev Date: Sun, 2 Jun 2019 11:42:38 +0800 Message-Id: <20190602034239.23225-6-chen.zhang@intel.com> X-Mailer: git-send-email 2.17.GIT In-Reply-To: <20190602034239.23225-1-chen.zhang@intel.com> References: <20190602034239.23225-1-chen.zhang@intel.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.136 Subject: [Qemu-devel] [PATCH 5/6] COLO-compare: Rename the colo_compare_inconsistency_notify 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: Zhang Chen , Zhang Chen Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Zhang Chen We have add the notify_remote_frame function for Xen, so we rename the colo_compare_inconsistency_notify to notify_native_frame(KVM-qemu COLO frame) looks better. Signed-off-by: Zhang Chen --- net/colo-compare.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/colo-compare.c b/net/colo-compare.c index 19075c7a66..101c1f477e 100644 --- a/net/colo-compare.c +++ b/net/colo-compare.c @@ -120,7 +120,7 @@ enum { SECONDARY_IN, }; =20 -static void colo_compare_inconsistency_notify(void) +static void notify_native_frame(void) { notifier_list_notify(&colo_compare_notifiers, migrate_get_current()); @@ -449,7 +449,7 @@ sec: if (s->notify_dev) { notify_remote_frame(s); } else { - colo_compare_inconsistency_notify(); + notify_native_frame(); } } } @@ -606,7 +606,7 @@ static int colo_old_packet_check_one_conn(Connection *c= onn, if (s->notify_dev) { notify_remote_frame(s); } else { - colo_compare_inconsistency_notify(); + notify_native_frame(); } return 0; } @@ -660,7 +660,7 @@ static void colo_compare_packet(CompareState *s, Connec= tion *conn, if (s->notify_dev) { notify_remote_frame(s); } else { - colo_compare_inconsistency_notify(); + notify_native_frame(); } break; } --=20 2.17.GIT