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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02E44C433F5 for ; Tue, 2 Nov 2021 16:24:45 +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 B7A4B60D42 for ; Tue, 2 Nov 2021 16:24:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B7A4B60D42 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:48658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhwaZ-0000UR-Th for qemu-devel@archiver.kernel.org; Tue, 02 Nov 2021 12:24:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhwN9-00084o-4r for qemu-devel@nongnu.org; Tue, 02 Nov 2021 12:10:53 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:30471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhwN5-0006cq-GI for qemu-devel@nongnu.org; Tue, 02 Nov 2021 12:10:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635869446; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=98PqwyJBHFTygsFv+OZoYC0BCgs+WNAaHT3K0OJUzUs=; b=V2eDbTvrX78UfygVD83YBYCxnh7Ti6+Mhl9XdxUZFIAGfDHd12+MlvYnufkndCyTEc/zTB V8oRNYpGOAwLbU825dH1Rb8mDDY9mF1YDk6nT5ZAvSbCXXTEo8yTRDCF5P4UFT7ABxp+Xm /aTipWe/dnm0I5A/WxuhoejSYiovpyc= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-583-gO6OByBLMoihPhx5_spsAA-1; Tue, 02 Nov 2021 12:10:45 -0400 X-MC-Unique: gO6OByBLMoihPhx5_spsAA-1 Received: by mail-wm1-f69.google.com with SMTP id m1-20020a1ca301000000b003231d5b3c4cso1373230wme.5 for ; Tue, 02 Nov 2021 09:10:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:reply-to:date:message-id:mime-version; bh=98PqwyJBHFTygsFv+OZoYC0BCgs+WNAaHT3K0OJUzUs=; b=hduDe5LHEDc/5+lQtQCHrgLICCICo2hUxpEnt2eesbGstJroPLhFzgBMPNJbE6KyZz amyL42B2noAQLgspgYXC0mjMp6IX1QrM0VvSw1T7EBuzMoTp1EhM6ndXfzymTV8CBJhI UKt3+ghKM0hv3AFuHs1zdP5FwiOBgvA5emthIygyAz244i5GT4CIxvWUPN3ky2RNoDqe Cbll4Wn79LiBuro/YSX7K9tISymBezal6RD0ckJkPrPUrDHve4MtpJFrGfE9+fNuuHkc GCqQhK0ZtRY8g+m24M8KuhQDA1EWuBcvQ3rC1vFi11AsjhZt6aSX9fDLE1LkuR2NEAeQ SfRA== X-Gm-Message-State: AOAM530xIs4yA+elo075UnKuaLNEgYz8pv2lVBCaXO2J9ZOjFCixeAjm JHIdEAGPdgNmYj6zAteULC9TQFsWzN8Esrgc1Zezrxa7H3ObkjgTniepOpknn7zgjOD5PWyRzmV CFlObWrbu7mRjV0M= X-Received: by 2002:a1c:8015:: with SMTP id b21mr7778248wmd.161.1635869444563; Tue, 02 Nov 2021 09:10:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz//yCTGEdcVgfDbnpmCiVt2aWr5cPuFoZD1FYA21vjNziKmkcwk6uRcVi/buet9SWug7UQjw== X-Received: by 2002:a1c:8015:: with SMTP id b21mr7778205wmd.161.1635869444343; Tue, 02 Nov 2021 09:10:44 -0700 (PDT) Received: from localhost ([188.26.219.212]) by smtp.gmail.com with ESMTPSA id l26sm3173458wms.15.2021.11.02.09.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 09:10:43 -0700 (PDT) From: Juan Quintela To: "Rao, Lei" Subject: Re: [PATCH v2 6/7] Changed the last-mode to none of first start COLO In-Reply-To: <1635753425-11756-7-git-send-email-lei.rao@intel.com> (Lei Rao's message of "Mon, 1 Nov 2021 15:57:04 +0800") References: <1635753425-11756-1-git-send-email-lei.rao@intel.com> <1635753425-11756-7-git-send-email-lei.rao@intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Date: Tue, 02 Nov 2021 17:10:42 +0100 Message-ID: <87h7cuh725.fsf@secure.mitica> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=quintela@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Received-SPF: pass client-ip=216.205.24.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.702, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: , Reply-To: quintela@redhat.com Cc: lukasstraub2@web.de, zhang.zhanghailiang@huawei.com, lizhijian@cn.fujitsu.com, jasowang@redhat.com, dgilbert@redhat.com, qemu-devel@nongnu.org, chen.zhang@intel.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" "Rao, Lei" wrote: > From: "Rao, Lei" > > When we first stated the COLO, the last-mode is as follows: > { "execute": "query-colo-status" } > {"return": {"last-mode": "primary", "mode": "primary", "reason": "none"}} > > The last-mode is unreasonable. After the patch, will be changed to the > following: > { "execute": "query-colo-status" } > {"return": {"last-mode": "none", "mode": "primary", "reason": "none"}} > > Signed-off-by: Lei Rao Reviewed-by: Juan Quintela queued.