Message ID | 20230213022911.68490-1-xxx.xx@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87505C64ED6 for <kvm@archiver.kernel.org>; Mon, 13 Feb 2023 02:30:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbjBMCaD (ORCPT <rfc822;kvm@archiver.kernel.org>); Sun, 12 Feb 2023 21:30:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjBMCaC (ORCPT <rfc822;kvm@vger.kernel.org>); Sun, 12 Feb 2023 21:30:02 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36FC0DBFF for <kvm@vger.kernel.org>; Sun, 12 Feb 2023 18:29:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676255355; 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=lblz4rOOsXWVpiCswSfbVejIKUH7/9cfXr+byuu7rwY=; b=bkLsRv4vEhUy7OjK8xpuDZmVUDBr9nSBADm4+Oxa3h6g/aDhOHo2txSI7I8NwUOqBunBJV 59lmALvHtpZ8nP0C5jPWO+HO9CC6SEe7lwQdRNrS+nJ7zkKzZVoOx48KA2iVOObV6VWCuP 8VCz0DagUzupdtsSX0t7LGdLXbgooPs= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-498-w-MspdI9OjiPHC8rV9zZow-1; Sun, 12 Feb 2023 21:29:13 -0500 X-MC-Unique: w-MspdI9OjiPHC8rV9zZow-1 Received: by mail-wm1-f71.google.com with SMTP id p14-20020a05600c468e00b003e0107732f4so5428861wmo.1 for <kvm@vger.kernel.org>; Sun, 12 Feb 2023 18:29:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lblz4rOOsXWVpiCswSfbVejIKUH7/9cfXr+byuu7rwY=; b=yPNj/0+rZ9EMtQVHnKF/8L2PxTNvjmguvrWNbeSjmnxCFur8ONF6QvclGtw9pnksxI 9s4+hkrKg0d28VTXu7EpKl6Kb7rw21iCMhy+ae21cISYIiYBAQ9izcviy8Yj76cd/vud cZBYq16l/vvNp3TuUC2ENLCVhIwBt2usKnobUFPAeNALwF0K3fDtWzpCL+fFhnUf3y8w XfcyUV2DnVuCfb0l2sQYkoV/wQ0kYfPIpUdWDIzP77PMV3C+TAer5j5G5L3/qciwqilt Y+zwll1HyD3Gr+wFrAwY+nKa29q4BRvFIv6hQzKn2sjSssA8igRotcIzDwpH5WQj/+aC XMMA== X-Gm-Message-State: AO0yUKU0Zw/N28gpgFMd0NLonSzOw90wViW5lSgQp0jhPYPiTpbIxkZD ubADWGU6UgAWRwEghAY+TBUxptjPq8ZtQPuzgvWjPwZukLB+76IegL3Kh6CvmibYDgePX//R9Wk 6EMobX0doh6Rj X-Received: by 2002:a05:600c:708:b0:3e0:17d:aeaf with SMTP id i8-20020a05600c070800b003e0017daeafmr17369041wmn.7.1676255352891; Sun, 12 Feb 2023 18:29:12 -0800 (PST) X-Google-Smtp-Source: AK7set9kHLzLQvfR8sM9QQ6d2WAPBUzCHZ16vETjp5i1Eqz0IYXKrZ0GWuAXArHgJKB0VLJp+oGnng== X-Received: by 2002:a05:600c:708:b0:3e0:17d:aeaf with SMTP id i8-20020a05600c070800b003e0017daeafmr17369035wmn.7.1676255352681; Sun, 12 Feb 2023 18:29:12 -0800 (PST) Received: from redhat.com ([46.136.252.173]) by smtp.gmail.com with ESMTPSA id bd6-20020a05600c1f0600b003e0015c8618sm15807126wmb.6.2023.02.12.18.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 18:29:11 -0800 (PST) From: Xxx Xx <quintela@redhat.com> X-Google-Original-From: Xxx Xx <xxx.xx@gmail.com> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Juan Quintela <quintela@redhat.com>, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>, Cornelia Huck <cohuck@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, kvm@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com> Subject: [PULL 00/22] Migration 20230213 patches Date: Mon, 13 Feb 2023 03:28:49 +0100 Message-Id: <20230213022911.68490-1-xxx.xx@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org |
From: Juan Quintela <quintela@redhat.com> The following changes since commit 3b33ae48ec28e1e0d1bc28a85c7423724bcb1a2c: Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (2023-02-09 15:29:14 +0000) are available in the Git repository at: https://gitlab.com/juan.quintela/qemu.git tags/migration-20230213-pull-request for you to fetch changes up to 24f3e8188c13e5a8b9ad6f2a353f7d0cf80f461c: ram: Document migration ram flags (2023-02-13 02:58:26 +0100) ---------------------------------------------------------------- Migration Pull request (take2) Hi In this PULL request: - rebase to latest upstream - fix compilation of linux-user (if have_system was missing) (me) - cleanup multifd_load_cleanup(leonardo) - Document RAM flags (me) Please apply. [take 1] This are all the reviewed patches for migration: - AVX512 support for xbzrle (Ling Xu) - /dev/userfaultd support (Peter Xu) - Improve ordering of channels (Peter Xu) - multifd cleanups (Li Zhang) - Remove spurious files from last merge (me) Rebase makes that to you - Fix mixup between state_pending_{exact,estimate} (me) - Cache RAM size during migration (me) - cleanup several functions (me) Please apply. ---------------------------------------------------------------- Juan Quintela (8): migration: Remove spurious files migration: Simplify ram_find_and_save_block() migration: Make find_dirty_block() return a single parameter migration: Split ram_bytes_total_common() in two functions migration: Calculate ram size once migration: Make ram_save_target_page() a pointer migration: I messed state_pending_exact/estimate ram: Document migration ram flags Leonardo Bras (4): migration/multifd: Change multifd_load_cleanup() signature and usage migration/multifd: Remove unnecessary assignment on multifd_load_cleanup() migration/multifd: Join all multifd threads in order to avoid leaks migration/multifd: Move load_cleanup inside incoming_state_destroy Li Zhang (2): multifd: cleanup the function multifd_channel_connect multifd: Remove some redundant code Peter Xu (6): linux-headers: Update to v6.1 util/userfaultfd: Support /dev/userfaultfd migration: Rework multi-channel checks on URI migration: Cleanup postcopy_preempt_setup() migration: Add a semaphore to count PONGs migration: Postpone postcopy preempt channel to be after main ling xu (2): AVX512 support for xbzrle_encode_buffer Update bench-code for addressing CI problem .../x86_64-quintela-devices.mak | 7 - .../x86_64-quintela2-devices.mak | 6 - meson.build | 17 + include/standard-headers/drm/drm_fourcc.h | 34 +- include/standard-headers/linux/ethtool.h | 63 +- include/standard-headers/linux/fuse.h | 6 +- .../linux/input-event-codes.h | 1 + include/standard-headers/linux/virtio_blk.h | 19 + linux-headers/asm-generic/hugetlb_encode.h | 26 +- linux-headers/asm-generic/mman-common.h | 2 + linux-headers/asm-mips/mman.h | 2 + linux-headers/asm-riscv/kvm.h | 4 + linux-headers/linux/kvm.h | 1 + linux-headers/linux/psci.h | 14 + linux-headers/linux/userfaultfd.h | 4 + linux-headers/linux/vfio.h | 142 ++ migration/migration.h | 15 +- migration/multifd.h | 3 +- migration/postcopy-ram.h | 4 +- migration/xbzrle.h | 4 + migration/migration.c | 138 +- migration/multifd.c | 87 +- migration/postcopy-ram.c | 31 +- migration/ram.c | 148 +- migration/savevm.c | 56 +- migration/xbzrle.c | 124 ++ tests/bench/xbzrle-bench.c | 469 ++++++ tests/unit/test-xbzrle.c | 39 +- util/userfaultfd.c | 32 + meson_options.txt | 2 + migration/multifd.c.orig | 1274 ----------------- scripts/meson-buildoptions.sh | 3 + tests/bench/meson.build | 6 + util/trace-events | 1 + 34 files changed, 1278 insertions(+), 1506 deletions(-) delete mode 100644 configs/devices/x86_64-softmmu/x86_64-quintela-devices.mak delete mode 100644 configs/devices/x86_64-softmmu/x86_64-quintela2-devices.mak create mode 100644 tests/bench/xbzrle-bench.c delete mode 100644 migration/multifd.c.orig