All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH V2 0/2] migration: support query migration thread information
@ 2023-02-03  7:35 Jiang Jiacheng via
  2023-02-03  7:35 ` [PATCH V2 1/2] migration: Introduce interface query-migrationthreads Jiang Jiacheng via
  2023-02-03  7:35 ` [PATCH V2 2/2] migration: save/delete migration thread info Jiang Jiacheng via
  0 siblings, 2 replies; 5+ messages in thread
From: Jiang Jiacheng via @ 2023-02-03  7:35 UTC (permalink / raw)
  To: qemu-devel
  Cc: berrange, quintela, dgilbert, yubihong, xiexiangyou, zhengchuan,
	linyilu, jiangjiacheng

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-03 19:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-03  7:35 [RFC PATCH V2 0/2] migration: support query migration thread information Jiang Jiacheng via
2023-02-03  7:35 ` [PATCH V2 1/2] migration: Introduce interface query-migrationthreads Jiang Jiacheng via
2023-02-03 19:47   ` Juan Quintela
2023-02-03  7:35 ` [PATCH V2 2/2] migration: save/delete migration thread info Jiang Jiacheng via
2023-02-03 19:56   ` Juan Quintela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.