[RFC PATCH V2 0/2] migration: support query migration thread information

Jiang Jiacheng via posted 2 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230203073519.2969147-1-jiangjiacheng@huawei.com
Maintainers: Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
migration/meson.build  |  1 +
migration/migration.c  |  5 ++++
migration/multifd.c    |  5 ++++
migration/threadinfo.c | 54 ++++++++++++++++++++++++++++++++++++++++++
migration/threadinfo.h | 28 ++++++++++++++++++++++
qapi/migration.json    | 29 +++++++++++++++++++++++
6 files changed, 122 insertions(+)
create mode 100644 migration/threadinfo.c
create mode 100644 migration/threadinfo.h
[RFC PATCH V2 0/2] migration: support query migration thread information
Posted by Jiang Jiacheng via 1 year, 2 months ago
We need get more migration thread information to support
migration pin, especially thread name and its pid. Add an
qmp interface to query migration threads information.

v2 of:
https://lists.nongnu.org/archive/html/qemu-devel/2023-01/msg04618.html

diff to v2:
* remove the event that report thread name
* modify the qmp interface, now it doesn't need thread name and
  return with all the migration threads information we saved

Jiang Jiacheng (2):
  migration: Introduce interface query-migrationthreads
  migration: save/delete migration thread info

 migration/meson.build  |  1 +
 migration/migration.c  |  5 ++++
 migration/multifd.c    |  5 ++++
 migration/threadinfo.c | 54 ++++++++++++++++++++++++++++++++++++++++++
 migration/threadinfo.h | 28 ++++++++++++++++++++++
 qapi/migration.json    | 29 +++++++++++++++++++++++
 6 files changed, 122 insertions(+)
 create mode 100644 migration/threadinfo.c
 create mode 100644 migration/threadinfo.h

-- 
2.33.0