[PATCH v2 0/7] Migration deadcode removal

dave@treblig.org posted 7 patches 1 month ago
docs/about/deprecated.rst  |  6 +++++
include/qemu/userfaultfd.h |  1 -
migration/options.c        | 31 ++++--------------------
migration/options.h        |  2 --
migration/postcopy-ram.c   | 47 ++++++++++--------------------------
migration/socket.c         | 18 --------------
migration/socket.h         |  1 -
qapi/migration.json        |  5 +++-
util/userfaultfd.c         | 49 ++++++++++----------------------------
9 files changed, 39 insertions(+), 121 deletions(-)
[PATCH v2 0/7] Migration deadcode removal
Posted by dave@treblig.org 1 month ago
From: "Dr. David Alan Gilbert" <dave@treblig.org>

  This is a set of deadcode removal around migration
found by looking for unused symbols.

v2
   Don't remove the zero-blocks capability yet
   add Fabiano's deprecation text patch.
   Use the uffd helpers in postcopy rather than
     removing most of them.
   Remove one.

Dave

Dr. David Alan Gilbert (6):
  migration: Remove migrate_cap_set
  migration: Remove unused migrate_zero_blocks
  migration: Remove unused socket_send_channel_create_sync
  util/userfaultfd: Return -errno on error
  migration/postcopy: Use uffd helpers
  util/userfaultfd: Remove unused uffd_poll_events

Fabiano Rosas (1):
  migration: Deprecate zero-blocks capability

 docs/about/deprecated.rst  |  6 +++++
 include/qemu/userfaultfd.h |  1 -
 migration/options.c        | 31 ++++--------------------
 migration/options.h        |  2 --
 migration/postcopy-ram.c   | 47 ++++++++++--------------------------
 migration/socket.c         | 18 --------------
 migration/socket.h         |  1 -
 qapi/migration.json        |  5 +++-
 util/userfaultfd.c         | 49 ++++++++++----------------------------
 9 files changed, 39 insertions(+), 121 deletions(-)

-- 
2.46.1
Re: [PATCH v2 0/7] Migration deadcode removal
Posted by Peter Xu 1 month ago
On Thu, Sep 19, 2024 at 02:46:19PM +0100, dave@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <dave@treblig.org>
> 
>   This is a set of deadcode removal around migration
> found by looking for unused symbols.
> 
> v2
>    Don't remove the zero-blocks capability yet
>    add Fabiano's deprecation text patch.
>    Use the uffd helpers in postcopy rather than
>      removing most of them.
>    Remove one.
> 
> Dave
> 
> Dr. David Alan Gilbert (6):
>   migration: Remove migrate_cap_set
>   migration: Remove unused migrate_zero_blocks
>   migration: Remove unused socket_send_channel_create_sync
>   util/userfaultfd: Return -errno on error
>   migration/postcopy: Use uffd helpers
>   util/userfaultfd: Remove unused uffd_poll_events
> 
> Fabiano Rosas (1):
>   migration: Deprecate zero-blocks capability

Tentatively queued.  Markus/others, still feel free to comment or offer
tags, the PR will be at least a few days after people back from forum.

Thanks!

-- 
Peter Xu