We need get more migration thread information to support migration pin, especially thread name and its pid. Add an qmp interface to query migration thread information by its name and report thread name when migration thread is started.
Jiang Jiacheng (3): migration: report migration thread name to libvirt migration: implement query migration threadinfo by name migration: save/delete migration thread info migration/meson.build | 1 + migration/migration.c | 7 +++++ migration/multifd.c | 9 +++++- migration/threadinfo.c | 70 ++++++++++++++++++++++++++++++++++++++++++ migration/threadinfo.h | 30 ++++++++++++++++++ qapi/migration.json | 42 +++++++++++++++++++++++++ 6 files changed, 158 insertions(+), 1 deletion(-) create mode 100644 migration/threadinfo.c create mode 100644 migration/threadinfo.h -- 2.33.0