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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC720C433EF for ; Tue, 2 Nov 2021 15:46:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D299260F90 for ; Tue, 2 Nov 2021 15:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234291AbhKBPse (ORCPT ); Tue, 2 Nov 2021 11:48:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231361AbhKBPsc (ORCPT ); Tue, 2 Nov 2021 11:48:32 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2031AC061714 for ; Tue, 2 Nov 2021 08:45:57 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id h16so14813058qtk.0 for ; Tue, 02 Nov 2021 08:45:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oBZS+B5OI/pNOurVNUNmHTLzU1LJ6vGeGI0SMtDtTqA=; b=ZxvXyZ8G6um96czYq5NWq0JwiA0h3KQZiPg6jRZHGNFHRPslxY+VDPyuTaCEHNUULy +pkbJHwaI9jQjaIW8qRyVebYqe2MOnXFruS8bmWxt5KLy3IZ+0AFirfA/DLeUcEl4HIX TRgpSA0mp0MdbHJSKO7qkEMITA6Dw2dfICBp3n7qqNf/sBb+gB8edfdhV911nOhAOwHH B6snqjnx7hhz3hn1quZHjYRnFA8fZTSIRSu4V/8qL24ItahLZWErZc2Foql8ePgzC/Vz +nYzVDZGlH30T0pNHhnmKVJBhUCmIs7aHmo7nDOe0zezTbMGPCuSmMyaFmLIFYCq83rR pJPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oBZS+B5OI/pNOurVNUNmHTLzU1LJ6vGeGI0SMtDtTqA=; b=FxsOvJtDUA4wEwBOalnAZknlDKd4TkHD+GGkgGKdi+fPPbCuQM0fUEWhjni633yVqj 07gpDCBtNiL3GsIlCQutFD4mMU2ri3HYqroCs/Bs+E/kP5ErRPj7Dm+eR7Mb6GUtgVe4 urSPOEomAZ/fvUJ5Tyokf9IF2joGatiw+WHzHLBitIFlfsrxsSWGggw1b9+513CuDrZI o3s6mGtXus8VROZpUj7yYLAfPqGz48hIQU9kWGn4PoQuFP4DWDuHoH7beJmNNz69kKq0 1szYyF3jPqgRVXqidow7zA8JP/qRK2BysYq8qyqr1nnNjBot8BgLoyCFXw/MI0ttpI2m 9/gA== X-Gm-Message-State: AOAM532QXdhLwv5dWbfNhFsm/I0xfAMRSgQZxfYEuH261PaqnBtIZ9XI q8pA7QDc3p6WxAB0MN3xdh+nYIomYjhfZw== X-Google-Smtp-Source: ABdhPJx7asEmjavQwNXvLHtTNJJ4FS8uJKsNMq8MaQoG0lRsFCuUBJcFIhC2E0gsV2D1s47hX+9AHg== X-Received: by 2002:ac8:7f11:: with SMTP id f17mr31747889qtk.389.1635867956240; Tue, 02 Nov 2021 08:45:56 -0700 (PDT) Received: from [172.20.81.179] (rrcs-172-254-253-57.nyc.biz.rr.com. [172.254.253.57]) by smtp.gmail.com with ESMTPSA id y8sm12807287qko.36.2021.11.02.08.45.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Nov 2021 08:45:55 -0700 (PDT) Subject: Re: [PULL 00/20] Migration 20211031 patches To: Juan Quintela , qemu-devel@nongnu.org Cc: Markus Armbruster , David Hildenbrand , Eduardo Habkost , xen-devel@lists.xenproject.org, Stefano Stabellini , Marcel Apfelbaum , Eric Blake , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , kvm@vger.kernel.org, Peter Xu , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Paul Durrant , Paolo Bonzini , "Dr. David Alan Gilbert" , "Michael S. Tsirkin" , Anthony Perard References: <20211101220912.10039-1-quintela@redhat.com> From: Richard Henderson Message-ID: <709cabc0-95c3-27dd-e2ae-8834fc7b36b3@linaro.org> Date: Tue, 2 Nov 2021 11:45:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211101220912.10039-1-quintela@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 11/1/21 6:08 PM, Juan Quintela wrote: > The following changes since commit af531756d25541a1b3b3d9a14e72e7fedd941a2e: > > Merge remote-tracking branch 'remotes/philmd/tags/renesas-20211030' into staging (2021-10-30 11:31:41 -0700) > > are available in the Git repository at: > > https://github.com/juanquintela/qemu.git tags/migration-20211031-pull-request > > for you to fetch changes up to 826b8bc80cb191557a4ce7cf0e155b436d2d1afa: > > migration/dirtyrate: implement dirty-bitmap dirtyrate calculation (2021-11-01 22:56:44 +0100) > > ---------------------------------------------------------------- > Migration Pull request > > Hi > > this includes pending bits of migration patches. > > - virtio-mem support by David Hildenbrand > - dirtyrate improvements by Hyman Huang > - fix rdma wrid by Li Zhijian > - dump-guest-memory fixes by Peter Xu > > Pleas apply. > > Thanks, Juan. > > ---------------------------------------------------------------- > > David Hildenbrand (8): > memory: Introduce replay_discarded callback for RamDiscardManager > virtio-mem: Implement replay_discarded RamDiscardManager callback > migration/ram: Handle RAMBlocks with a RamDiscardManager on the > migration source > virtio-mem: Drop precopy notifier > migration/postcopy: Handle RAMBlocks with a RamDiscardManager on the > destination > migration: Simplify alignment and alignment checks > migration/ram: Factor out populating pages readable in > ram_block_populate_pages() > migration/ram: Handle RAMBlocks with a RamDiscardManager on background > snapshots > > Hyman Huang(黄勇) (6): > KVM: introduce dirty_pages and kvm_dirty_ring_enabled > memory: make global_dirty_tracking a bitmask > migration/dirtyrate: introduce struct and adjust DirtyRateStat > migration/dirtyrate: adjust order of registering thread > migration/dirtyrate: move init step of calculation to main thread > migration/dirtyrate: implement dirty-ring dirtyrate calculation > > Hyman Huang(黄勇) (2): > memory: introduce total_dirty_pages to stat dirty pages > migration/dirtyrate: implement dirty-bitmap dirtyrate calculation > > Li Zhijian (1): > migration/rdma: Fix out of order wrid > > Peter Xu (3): > migration: Make migration blocker work for snapshots too > migration: Add migrate_add_blocker_internal() > dump-guest-memory: Block live migration > > qapi/migration.json | 48 ++++- > include/exec/memory.h | 41 +++- > include/exec/ram_addr.h | 13 +- > include/hw/core/cpu.h | 1 + > include/hw/virtio/virtio-mem.h | 3 - > include/migration/blocker.h | 16 ++ > include/sysemu/kvm.h | 1 + > migration/dirtyrate.h | 21 +- > migration/ram.h | 1 + > accel/kvm/kvm-all.c | 7 + > accel/stubs/kvm-stub.c | 5 + > dump/dump.c | 19 ++ > hw/i386/xen/xen-hvm.c | 4 +- > hw/virtio/virtio-mem.c | 92 ++++++--- > migration/dirtyrate.c | 367 ++++++++++++++++++++++++++++++--- > migration/migration.c | 30 +-- > migration/postcopy-ram.c | 40 +++- > migration/ram.c | 180 ++++++++++++++-- > migration/rdma.c | 138 +++++++++---- > softmmu/memory.c | 43 +++- > hmp-commands.hx | 8 +- > migration/trace-events | 2 + > softmmu/trace-events | 1 + > 23 files changed, 909 insertions(+), 172 deletions(-) Applied, thanks. r~