From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 39BABC636D7 for ; Mon, 13 Feb 2023 02:44:44 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pROor-0000hh-EZ; Sun, 12 Feb 2023 21:43:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pROop-0000hK-AH for qemu-devel@nongnu.org; Sun, 12 Feb 2023 21:43:51 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pROom-0005O0-ST for qemu-devel@nongnu.org; Sun, 12 Feb 2023 21:43:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676256226; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=chlI/YnBcw8RZOcZCYBbupON3qxjwVO5YifDGp82ohs=; b=F0HOEbrPLfKj24q90iwin7ADapMRPAB39rHiPAAeBh4VeNMAIhTa1qIR3bSYU4SOxd1vRg 0iCdzHbUuT5GM2b/TCLBNxPgq/EdGke4KyEXd7gScGM0+ga8TG6u5f7AFr5s8IaUWBCOfQ fx846TwiGpbUsdAbHk9xos9K7v1dpHc= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-85-kLrgWFMGPgKem940SGLdGQ-1; Sun, 12 Feb 2023 21:43:45 -0500 X-MC-Unique: kLrgWFMGPgKem940SGLdGQ-1 Received: by mail-wm1-f70.google.com with SMTP id l21-20020a05600c4f1500b003e00be23a70so8395257wmq.2 for ; Sun, 12 Feb 2023 18:43:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:reply-to:user-agent:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=chlI/YnBcw8RZOcZCYBbupON3qxjwVO5YifDGp82ohs=; b=MSk48Khm2EH80ksDkwGYVsFBcru07DgG/5uUnUYYrcsalPlK6Bl4WWRBGI098/doWh LTUUuYwZ1DfaDeacmfeFeFnHPHHUI2iuRACG4hRo4xYo6ycjQZ+Pd3oJBRcokr3UrTYA 1UB6cxGt0XKFgyl2LritEOb6o63+2VOKJIERpdqpb/qzfYZl5nHHESJlyLhA21cu0huu BFdBh6PBJbnx6GPpkU6xB5lWcjpQ0tPEdUPZp9GC/OqLw+JKRzrQ3bofSYxzumSfvyle O2jmJTYA6SxzskIcZeYyR7vM1BcJBzZnFqXr3rPGY+82zHoWMit74DFEEo+Ow5xgoiiV fMsw== X-Gm-Message-State: AO0yUKUaBr9+yLVetvuaXjuVMl+LbP/oMg2KH02v2ZGGXCNd7yAh5VZ9 FlKXwAL3cRSSfBIoihmPvvvyg6BZwu39J/Nm7jgk1koHimKuSRfAIQuLVDtf1GqoWvofh9tV9Ae CBe8QGa6ZLaLIpDusG0ns+Sgd+40ZPSqgVVMuBnGctlVfR1ZEA0usLfDI7dfVgGMrCGszh8OT X-Received: by 2002:adf:db88:0:b0:2c3:d83a:113a with SMTP id u8-20020adfdb88000000b002c3d83a113amr19677083wri.4.1676256223504; Sun, 12 Feb 2023 18:43:43 -0800 (PST) X-Google-Smtp-Source: AK7set/ZBy5NUXhWAeXiVqUIi71HKvVsPNFvFycpLKmnbTMTaIZ7pi86HbZHTfGIMh+g3aPxBv9s0Q== X-Received: by 2002:adf:db88:0:b0:2c3:d83a:113a with SMTP id u8-20020adfdb88000000b002c3d83a113amr19677067wri.4.1676256223233; Sun, 12 Feb 2023 18:43:43 -0800 (PST) Received: from redhat.com ([46.136.252.173]) by smtp.gmail.com with ESMTPSA id a1-20020adff7c1000000b002c54a2037d1sm7186502wrq.75.2023.02.12.18.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 18:43:42 -0800 (PST) From: Juan Quintela To: qemu-devel@nongnu.org Cc: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Thomas Huth , Daniel P. =?utf-8?Q?Berrang=C3=A9?= , Cornelia Huck , "Dr. David Alan Gilbert" , kvm@vger.kernel.org, "Michael S. Tsirkin" , Paolo Bonzini , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Subject: Re: [PULL 00/22] Migration 20230213 patches In-Reply-To: <20230213022911.68490-1-xxx.xx@gmail.com> (Xxx Xx's message of "Mon, 13 Feb 2023 03:28:49 +0100") References: <20230213022911.68490-1-xxx.xx@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Date: Mon, 13 Feb 2023 03:43:41 +0100 Message-ID: <87wn4muvxe.fsf@secure.mitica> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=170.10.129.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: quintela@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Xxx Xx wrote: > From: Juan Quintela Nack Misses Fixes: label by leanardo Sorry. > 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