Received: by 2002:a19:c345:0:0:0:0:0 with SMTP id t66csp5467805lff; Tue, 14 Jan 2020 04:53:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyun98w1U0jqC0z3S5wthskys31XItFN+X8fvXJ0L02lt0OFi8iUw0cCuVR6jNwSglnlEjT X-Received: by 2002:a37:9647:: with SMTP id y68mr21242689qkd.300.1579006424552; Tue, 14 Jan 2020 04:53:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579006424; cv=none; d=google.com; s=arc-20160816; b=wy6MtoBxJ76jnFpDelHse+uPbjVaOUlQKcFl+KnGLfrU3G9nozwaIixX+bbcTZRJfP ojI0GhdMZHakG7pcby92Fgp6X5hDH5i15K8vTeU6QnZSlNqUuDvJgAbJOEPkaqFTnkQS 7lpfBLteSujPxMFXDtL9ChrMdq1eXDW16VGLCKEinwVebT/JAMD6DoyqYompUf3XbuOO 5SMMJSoPxsEi1zVTh0his1Dd6uNmhkw//n1Yoqh9Ae0NSHoEafLaazJQVMEknFFYEqfM hI7/hOeFTBpfkaJdbSdwkRP0WObtQx62lKIw2HMmaN47FCqfc+UGAiCMdKBZcSZgcrXs 68kg== 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=IEHxBRqKf6XjgLikiciQ39X3TILgeZdaCu/M3isGJZU=; b=K059GowsW2i8NbM9XNHAKRiwsGzanwQIYDa4hvokjDfr1BHal7io25tEw67Ty/cVaA AGZYFzmqaaRPl5aGdMkD92bR3B/WtOpD13HwoM7o48epWWeslzpVoHFW9rp2RQf6bfva Zg37dt2pb85h3hICwxa1BRpIn0u+I9a3m7bgUupWH802WQrLb5w2B3dg35ckM7oKE/oX MiJgTdwljW3ax6q2tgUOXY9eFSS7hGydYJxqGNbnuo1CH3GaK2YTf3U29KYJhpOuh138 D51eIa/DTEQD3DqwOYEDsbBV7fR/2mBJZXKqteOYH5BuAkYVpwkx8MsiLhqjMdlETtlE YlHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=fde65Gv0; 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 x27si9011045qtm.363.2020.01.14.04.53.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Jan 2020 04:53:44 -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=fde65Gv0; 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]:38668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irLhX-0000V6-49 for alex.bennee@linaro.org; Tue, 14 Jan 2020 07:53:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40452) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irLh1-0008U7-MS for qemu-arm@nongnu.org; Tue, 14 Jan 2020 07:53:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irLgx-0001L9-QC for qemu-arm@nongnu.org; Tue, 14 Jan 2020 07:53:11 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:38265 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1irLgx-0001Kn-NA for qemu-arm@nongnu.org; Tue, 14 Jan 2020 07:53:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579006387; 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=IEHxBRqKf6XjgLikiciQ39X3TILgeZdaCu/M3isGJZU=; b=fde65Gv0m8+KUYlUv4YjIyU2EwmwDvbOtQs5UeNByiLAkMoEzkItQ2ys3JGpjSapTEPPH0 qGlky2wpUKAzYGAMY5wrZNaLL1C3pDdF4IZYenFbyM2Ukrt/oc6U6SYiNzrEVmwQB7f60x UjvKQMd/+k9EHQqYPojbdTxQoNmqYjo= 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-255-26yaF45QMbS3gIwxXGrXvw-1; Tue, 14 Jan 2020 07:53:06 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 31328801E7A; Tue, 14 Jan 2020 12:53:04 +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 F2F855DA70; Tue, 14 Jan 2020 12:52:54 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Subject: [PULL 00/30] Migration pull patches (take 4) Date: Tue, 14 Jan 2020 13:52:24 +0100 Message-Id: <20200114125254.4515-1-quintela@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: 26yaF45QMbS3gIwxXGrXvw-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.120 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 , Peter Maydell , Thomas Huth , Corey Minyard , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , Juan Quintela , Stefan Weil , Jason Wang , "Michael S. Tsirkin" , "Dr. David Alan Gilbert" , Stefan Berger , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Marcel Apfelbaum , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , Richard Henderson , Andrzej Zaborowski , David Gibson Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: 0KdlTfI7cASg 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 b039b02c25d1725cf0296721d98e35e024468b20: migration: Support QLIST migration (2020-01-14 13:45:29 +0100) ---------------------------------------------------------------- Migration pull request (take 4) - both patches for x32 archs in - reorder the pages to make git bisect happy Thanks a lot to Daniel for helping with the bugs. Twice. ---------------------------------------------------------------- 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 (5): multifd: Initialize local variable multifd: Allocate uint64_t instead of ram_addr_t 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 | 185 ++++++++++++++++++++++++++--------- 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, 654 insertions(+), 130 deletions(-) --=20 2.24.1