aboutsummaryrefslogtreecommitdiff
path: root/migration/threadinfo.c
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-06-07 13:13:04 -0300
committerJuan Quintela <quintela@redhat.com>2023-07-26 10:55:56 +0200
commit788fa680419854db44205ec6e74602b5f91ee98d (patch)
tree8bfb2242acf55af30c30db61e56449344a520cb9 /migration/threadinfo.c
parent6cb2011fedf8c4e7b66b4a3abd6b42c1bae99ce6 (diff)
migration/multifd: Rename threadinfo.c functions
We're about to add more functions to this file so make it use the same coding style as the rest of the code. Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Xu <peterx@redhat.com> Message-Id: <20230607161306.31425-2-farosas@suse.de> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/threadinfo.c')
-rw-r--r--migration/threadinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/threadinfo.c b/migration/threadinfo.c
index 1de8b31855..3dd9b14ae6 100644
--- a/migration/threadinfo.c
+++ b/migration/threadinfo.c
@@ -14,7 +14,7 @@
static QLIST_HEAD(, MigrationThread) migration_threads;
-MigrationThread *MigrationThreadAdd(const char *name, int thread_id)
+MigrationThread *migration_threads_add(const char *name, int thread_id)
{
MigrationThread *thread = g_new0(MigrationThread, 1);
thread->name = name;
@@ -25,7 +25,7 @@ MigrationThread *MigrationThreadAdd(const char *name, int thread_id)
return thread;
}
-void MigrationThreadDel(MigrationThread *thread)
+void migration_threads_remove(MigrationThread *thread)
{
if (thread) {
QLIST_REMOVE(thread, node);