Hello,

This patch series refactors the liveupdate selftests util. It exposes
liveupdate util code as a library which can be used by other selftests
like VFIO and IOMMU.

In this series there are no users of this change but it is being used in
VFIO liveupdate series and iommu.
  https://lore.kernel.org/kvm/[email protected]/
  
https://lore.kernel.org/linux-iommu/[email protected]/

I think it is better to move the patches out and propose as a
separate series for inclusion liveupdate repo. That way we can decouple
multiple downstream dependencies and then it can be used by VFIO, IOMMU,
and KVM (guest_memfd preservation) separately.

Vipin Sharma (2):
  selftests/liveupdate: Move luo_test_utils.* into a reusable library
  selftests/liveupdate: Add helpers to preserve/retrieve FDs

 tools/testing/selftests/liveupdate/.gitignore |  1 +
 tools/testing/selftests/liveupdate/Makefile   | 14 ++----
 .../include/libliveupdate.h}                  | 11 +++--
 .../selftests/liveupdate/lib/libliveupdate.mk | 20 +++++++++
 .../{luo_test_utils.c => lib/liveupdate.c}    | 43 ++++++++++++++-----
 .../selftests/liveupdate/luo_kexec_simple.c   |  2 +-
 .../selftests/liveupdate/luo_multi_session.c  |  2 +-
 7 files changed, 67 insertions(+), 26 deletions(-)
 rename tools/testing/selftests/liveupdate/{luo_test_utils.h => 
lib/include/libliveupdate.h} (80%)
 create mode 100644 tools/testing/selftests/liveupdate/lib/libliveupdate.mk
 rename tools/testing/selftests/liveupdate/{luo_test_utils.c => 
lib/liveupdate.c} (91%)


base-commit: 5d6919055dec134de3c40167a490f33c74c12581
-- 
2.54.0.563.g4f69b47b94-goog


Reply via email to