From patchwork Wed May 20 20:42:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Straub X-Patchwork-Id: 11561555 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 D90CB60D for ; Wed, 20 May 2020 20:45:10 +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 AFFAB20823 for ; Wed, 20 May 2020 20:45:10 +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="REvlKdCX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AFFAB20823 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]:49286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbVaP-00082O-JU for patchwork-qemu-devel@patchwork.kernel.org; Wed, 20 May 2020 16:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbVXj-0005j4-Qb for qemu-devel@nongnu.org; Wed, 20 May 2020 16:42:23 -0400 Received: from mout.web.de ([212.227.15.3]:38559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbVXi-00072E-QN for qemu-devel@nongnu.org; Wed, 20 May 2020 16:42:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1590007330; bh=4mxVk7kMAqb0QjTJqBWNdZXrK3LObwX3IAZJW6rBUeQ=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject; b=REvlKdCXE3llWFD5djYzAzeiOA14iKRFgwaUDlmtcL5ydbXGT13SoVsXa+kZt4beq hVJrb6LoYAQU5XyM8WVy2DOxx78Ma7LsN0dVcEaxQ2sYxaSdL63gsp2pOeJnZFFKms pHq6HtJNfKZ+JJG2UpJEIpvwhjD/sYg1Wr1rUXVc= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from luklap ([88.130.61.105]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MQxnv-1jNWvl0J4J-00NxtO; Wed, 20 May 2020 22:42:10 +0200 Date: Wed, 20 May 2020 22:42:00 +0200 From: Lukas Straub To: qemu-devel Subject: [PATCH v2 0/6] colo: migration related bugfixes Message-ID: MIME-Version: 1.0 X-Provags-ID: V03:K1:pq1qzTll0V06yvcJWc5zDd3BcqxMaXjVRFTEiCRJVUoZeYQ2ZZ3 /CmDVSg2ZM47kQMYEiuHzwaWFROVFIcRErAUgOb8fwhGNeJ3aJ0U8w+wtokD5EqeLZv49hl jSuhy3TSl7ONZ4EDk+SlJvUfDsY01mtI5FNvGIR3/nKhy9RzISsAiD9iZvaeVq2D9WT1fdY 49WQvUU2tEkxg5QqfaTlw== X-UI-Out-Filterresults: notjunk:1;V03:K0:n9mVGSsxFX0=:s/9Uzvu6GJEZaxZ5F0cH4I 2tVpcM8SCCoQb1vjZ2IhSD42WSqmfbUE5Y12Cmj/CBkyr6uod1Oz7wHu30gAD16f9NJjl36hU HEFEymE1VoUD3KkK65dGj9P9Y8pmt0mDtUHB8bRMaPiwNQnwAM2hAG9Vyor2Hb8KMUaU/FjJp WPPHoWgnAiuFelCG8vfoda1H3DEZD/QmoTdNHVmGyLX7rjHEC+bHH4//s4Vwe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 Received-SPF: pass client-ip=212.227.15.3; envelope-from=lukasstraub2@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/20 16:42:20 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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 v2: -Don't touch qemu_file_rate_limit, solve the problem in migration_rate_limit 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/colo.c: Move colo_notify_compares_event to the right place migration/migration.c: Fix hang in ram_save_host_page migration/colo.c | 39 ++++++++++++++++++++++++--------------- migration/migration.c | 4 ++++ migration/migration.h | 4 ++-- migration/ram.c | 5 +---- migration/ram.h | 1 + 5 files changed, 32 insertions(+), 21 deletions(-) --- 2.20.1