migration: Introduce interface query-migrationthreads
commit671326201dac8fe91222ba0045709f04a8ec3af4
authorJiang Jiacheng <jiangjiacheng@huawei.com>
Fri, 3 Feb 2023 07:35:18 +0000 (3 15:35 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 6 Feb 2023 18:22:57 +0000 (6 19:22 +0100)
treef1d960e32d695fd1c8436afa71829434b54893d1
parentebfc57871506b3fe36cc41f69ee3ad31a34afd63
migration: Introduce interface query-migrationthreads

Introduce interface query-migrationthreads. The interface is used
to query information about migration threads and returns with
migration thread's name and its id.
Introduce threadinfo.c to manage threads with migration.

Signed-off-by: Jiang Jiacheng <jiangjiacheng@huawei.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/meson.build
migration/threadinfo.c [new file with mode: 0644]
migration/threadinfo.h [new file with mode: 0644]
qapi/migration.json