Skip to content

Migration deadcode removal

[email protected] qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 8 repliesIn review
  2. v13 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7migration: Remove migrate_cap_setmigration/options.c migration/options.h+0 -210 replies
2/7migration: Remove unused migrate_zero_blocksmigration/options.c migration/options.h+0 -81 reply
3/7migration: Deprecate zero-blocks capabilitydocs/about/deprecated.rst migration/options.c qapi/migration.json+14 -11 reply
4/7migration: Remove unused socket_send_channel_create_syncmigration/socket.c migration/socket.h+0 -190 replies
5/7util/userfaultfd: Return -errno on errorutil/userfaultfd.c+12 -91 reply
6/7migration/postcopy: Use uffd helpersmigration/postcopy-ram.c+13 -343 replies
7/7util/userfaultfd: Remove unused uffd_poll_eventsinclude/qemu/userfaultfd.h util/userfaultfd.c+0 -291 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchFabiano RosasPeter Xu
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] Migration deadcode removal

From: "Dr. David Alan Gilbert" <[email protected]>

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(-)
Signature · 1 line
2.46.1