Received: by 2002:a19:c345:0:0:0:0:0 with SMTP id t66csp5266804lff; Tue, 14 Jan 2020 01:26:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwPnZImdTighGia2t7XyAbZRgBrLoAH2mY58eW+phoPEnml43NSaSEJBJ94YEMzz/XFrLNS X-Received: by 2002:aed:3b79:: with SMTP id q54mr2714443qte.187.1578994012341; Tue, 14 Jan 2020 01:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578994012; cv=none; d=google.com; s=arc-20160816; b=W/l4X6R/sEzsLSUnVWshv/KSi6Yc6RKo7vgoSNz1VRnj5YZGPNRtWie4Pol5+qhsrG sPX2Sy6NTR82LGdVxcaieRP9fMc4BN1YSAhxzJWnrFTg1q8xbysaEWuj0Gu2T2NvAyz+ HnWqUFRI4L5h4KJWSCLgvkUpN8olW13mssRRjWN801JNiUgKn8LgbX+9wHgfmyMVekxT yJQZJr/eiBNvZt/TnGG+clAfqMiQFIVrdR4sxkVxnqxuFeDIxAu4QMHOROGiXmGvBRtp 1UJo02K8pXtZQusmWnuKPDu/qC/D5mEyFkgxQi1csHGG8HQ8LY8MxL2SSQIr21KUR1Yx l8Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=mJKKWE1UzMu4GfpEm/19JU/n+PvAuNFbFMEj8jZ27+g=; b=rNs6XLzwi0M9/InZr7QmXlCoain+CLZ5PFiYmir6j/xDfjeu3EYNG2kMvBLdin0dhr lHsNfOrBPGUiH8nmQwutT2gPg04HX+UsI3JksUJPgj/8R+gbbXE3s+afwzFnVasdNuaC 1QNyeAsXXUJdAIroQXNLDKXmq5Zm4aLZBaOKKNNgJitbJPdDfZjHC2Vnj01POR+APL2L TH4oOK22saN6o6p0a514hAAYez8o/mSzNbpNIitcBVquA0OVeOQYFZdsvVgXFmRs3neA yeyW+0RmyZ08sJrzJPpmbFDZs7U3MzVwYirDUl/Uk9AQFlgypeMx4u7q/3k1+J5HpWrw n5jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=eudWhbYC; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c11si7710377qkm.232.2020.01.14.01.26.52 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Jan 2020 01:26:52 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=eudWhbYC; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:34954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irITL-0004iP-3W for alex.bennee@linaro.org; Tue, 14 Jan 2020 04:26:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57073) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irISv-0004H2-U7 for qemu-arm@nongnu.org; Tue, 14 Jan 2020 04:26:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irISs-0006G7-27 for qemu-arm@nongnu.org; Tue, 14 Jan 2020 04:26:25 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:25394) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1irISr-0006Fj-VH for qemu-arm@nongnu.org; Tue, 14 Jan 2020 04:26:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578993981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mJKKWE1UzMu4GfpEm/19JU/n+PvAuNFbFMEj8jZ27+g=; b=eudWhbYCkD752Kf1/U7jmjNd43dnug7INX/8P3oZLTfWayyjU6A17wTOHuycg6E9dZ7K0q I9eeAKnneUv7lcxdbhDZgVBlNDieAPKzHP2tP+PR4Mf1y7r3lQcomiUtw6PsNaMzMa5kzh FlaWi7R/oH9h5G5UN7oznhaSLdfBNmE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-7-9kiTu082ND2g28L8kecVEg-1; Tue, 14 Jan 2020 04:26:19 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2104D1800D78; Tue, 14 Jan 2020 09:26:17 +0000 (UTC) Received: from secure.mitica (ovpn-116-207.ams2.redhat.com [10.36.116.207]) by smtp.corp.redhat.com (Postfix) with ESMTP id C6DCD19756; Tue, 14 Jan 2020 09:26:07 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Subject: [PULL 00/29] Migration pull patches (second try) Date: Tue, 14 Jan 2020 10:25:37 +0100 Message-Id: <20200114092606.1761-1-quintela@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: 9kiTu082ND2g28L8kecVEg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.81 X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Corey Minyard , Thomas Huth , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , "Michael S. Tsirkin" , Peter Maydell , Stefan Weil , Jason Wang , Juan Quintela , "Dr. David Alan Gilbert" , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Marcel Apfelbaum , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , David Gibson , Andrzej Zaborowski , Richard Henderson , Stefan Berger Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: pMXI+p1z75Wc The following changes since commit 3c8a6575985b1652b45bfa670b5e1907d642cfa0= : Merge remote-tracking branch 'remotes/kraxel/tags/usb-20200113-pull-reque= st' into staging (2020-01-13 14:19:57 +0000) are available in the Git repository at: https://github.com/juanquintela/qemu.git tags/migration-pull-pull-request for you to fetch changes up to 4eafab585c091050b5ae63130f46fe46ac919c3a: migration: Support QLIST migration (2020-01-14 10:17:12 +0100) ---------------------------------------------------------------- Migration pull request - updated QList patch - initialize local msg variable ---------------------------------------------------------------- Alexey Romko (1): Bug #1829242 correction. Daniel Henrique Barboza (1): ram.c: remove unneeded labels Dr. David Alan Gilbert (1): migration: Rate limit inside host pages Eric Auger (1): migration: Support QLIST migration Fangrui Song (1): migration: Fix incorrect integer->float conversion caught by clang Jiahui Cen (2): migration/multifd: fix nullptr access in terminating multifd threads migration/multifd: fix destroyed mutex access in terminating multifd threads Juan Quintela (4): multifd: Initialize local variable migration-test: Add migration multifd test migration: Make sure that we don't call write() in case of error migration-test: introduce functions to handle string parameters Laurent Vivier (2): migration-test: ppc64: fix FORTH test program runstate: ignore finishmigrate -> prelaunch transition Marc-Andr=C3=A9 Lureau (1): misc: use QEMU_IS_ALIGNED Peter Xu (3): migration: Define VMSTATE_INSTANCE_ID_ANY migration: Change SaveStateEntry.instance_id into uint32_t apic: Use 32bit APIC ID for migration instance ID Scott Cheloha (2): migration: add savevm_state_handler_remove() migration: savevm_state_handler_insert: constant-time element insertion Wei Yang (8): migration/postcopy: reduce memset when it is zero page and matches_target_page_size migration/postcopy: wait for decompress thread in precopy migration/postcopy: count target page number to decide the place_needed migration/postcopy: set all_zero to true on the first target page migration/postcopy: enable random order target page arrival migration/postcopy: enable compress during postcopy migration/multifd: clean pages after filling packet migration/multifd: not use multifd during postcopy Yury Kotov (2): migration: Fix the re-run check of the migrate-incoming command migration/ram: Yield periodically to the main loop backends/dbus-vmstate.c | 3 +- exec.c | 4 +- hw/arm/stellaris.c | 2 +- hw/core/qdev.c | 3 +- hw/display/ads7846.c | 2 +- hw/i2c/core.c | 2 +- hw/input/stellaris_input.c | 3 +- hw/intc/apic_common.c | 7 +- hw/misc/max111x.c | 3 +- hw/net/eepro100.c | 3 +- hw/pci/pci.c | 2 +- hw/ppc/spapr.c | 2 +- hw/timer/arm_timer.c | 2 +- hw/tpm/tpm_emulator.c | 3 +- include/migration/register.h | 2 +- include/migration/vmstate.h | 25 ++++- include/qemu/queue.h | 39 ++++++++ migration/migration.c | 72 +++++++------- migration/migration.h | 1 + migration/ram.c | 183 ++++++++++++++++++++++++++--------- migration/savevm.c | 61 ++++++++---- migration/trace-events | 9 +- migration/vmstate-types.c | 70 ++++++++++++++ stubs/vmstate.c | 2 +- tests/qtest/migration-test.c | 97 ++++++++++++++++++- tests/test-vmstate.c | 170 ++++++++++++++++++++++++++++++++ vl.c | 10 +- 27 files changed, 653 insertions(+), 129 deletions(-) --=20 2.24.1