From patchwork Mon May 11 11:10:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Straub X-Patchwork-Id: 11540241 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C886175D for ; Mon, 11 May 2020 11:14:32 +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 510E520722 for ; Mon, 11 May 2020 11:14:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=web.de header.i=@web.de header.b="IPYisHWW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 510E520722 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:53670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jY6OF-00087D-61 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 11 May 2020 07:14:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jY6Km-0004p3-Hy for qemu-devel@nongnu.org; Mon, 11 May 2020 07:10:56 -0400 Received: from mout.web.de ([212.227.17.12]:34251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jY6Kl-0005kU-F9 for qemu-devel@nongnu.org; Mon, 11 May 2020 07:10:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1589195441; bh=h7cHtPLnjN4dSH0Rl7oc6q+EpVug8yB3vvCx6daQaSc=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject; b=IPYisHWWWwpWm8SJeQ6OgkjlQhKl2bUH1gD4li5K2LlqMqEpVuzeDLHdJpn/uqhvK N5/gu6Li70LSVV1DmHJrhXE/daLmK3v6ekCI2rhkgqgrn/+3ND8plLqrMJLmFc86nB 2HuqzIxKT/WU8POB6UT4JZD2bth3pGbbwbJKtWgw= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from luklap ([89.247.255.192]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Llna8-1iz2Yq3sJc-00ZOAp; Mon, 11 May 2020 13:10:40 +0200 Date: Mon, 11 May 2020 13:10:31 +0200 From: Lukas Straub To: qemu-devel Subject: [PATCH 0/6] colo: migration related bugfixes Message-ID: MIME-Version: 1.0 X-Provags-ID: V03:K1:aYWW+2Ydd6t3DQ+hp/xpHlnKetHZcZ58JTGVwjrtSvrFfv3+qLs AY8oiMCtvO1vYf0fsyDj+uCgjAAjvrqrCRJZ2N8gbyakQi4lDDI5hDVnb+vZfaVB0YjHKdd EJ6BdrTOnYjdsLy5+Rchg7ESjdtCs9mirHVu/9TRq67vZRONskCi5meznbk5ma3GNMrpNqN rGGg8B/hLzUq5xQ+TBCQw== X-UI-Out-Filterresults: notjunk:1;V03:K0:kUnbbJkZdIc=:eDP3bU8Y1fTlCyy96Sy4Jl nn9/nUwatSqCeYEkK0m0imDjmekY0/9agYJvxZzSm1lAFY1swB5xJmSBMsqf2zzo7d1mClmrE tA6x535vaKOrKPu8oj7lRLr8cttww6tlS9vRzSvAl2LhgMJM3vDxbpywfdi6b8KSh4yPIEwtB i7GgP4s16lk0NSHGea7ZMU2Fs7DQlmSOLokAWdKQEc3s9k7h+mH22YzqE1Vy6DZc7wZ+GYg+2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asstraub2@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/11 07:10:54 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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: Hailiang Zhang , "Dr. David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Hello Everyone, Here are fixes for bugs that I found in my tests. Regards, Lukas Straub Lukas Straub (6): migration/colo.c: Use event instead of semaphore migration/colo.c: Use cpu_synchronize_all_states() migration/colo.c: Flush ram cache only after receiving device state migration/colo.c: Relaunch failover even if there was an error migration/qemu-file.c: Don't ratelimit a shutdown fd migration/colo.c: Move colo_notify_compares_event to the right place migration/colo.c | 39 ++++++++++++++++++++++++--------------- migration/migration.h | 4 ++-- migration/qemu-file.c | 2 +- migration/ram.c | 5 +---- migration/ram.h | 1 + 5 files changed, 29 insertions(+), 22 deletions(-)