From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVakp-0004bl-Be for qemu-devel@nongnu.org; Mon, 23 Jan 2017 04:17:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVakm-0004GS-5w for qemu-devel@nongnu.org; Mon, 23 Jan 2017 04:17:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55756) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVakm-0004Fv-08 for qemu-devel@nongnu.org; Mon, 23 Jan 2017 04:17:32 -0500 Received: from smtp.corp.redhat.com (int-mx16.intmail.prod.int.phx2.redhat.com [10.5.11.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6239D5144A for ; Mon, 23 Jan 2017 09:17:31 +0000 (UTC) Date: Mon, 23 Jan 2017 09:17:26 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20170123091725.GB2098@work-vm> References: <1485069471-3680-1-git-send-email-pagupta@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1485069471-3680-1-git-send-email-pagupta@redhat.com> Subject: Re: [Qemu-devel] [PATCH] Change name of live migration thread List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pankaj Gupta Cc: qemu-devel@nongnu.org, quintela@redhat.com, amit.shah@redhat.com * Pankaj Gupta (pagupta@redhat.com) wrote: > Change the name of live migration thread from 'migration' > to 'qemu_vm_migration' to identify it clearly. 'migration' > is a generic word and kernel also has tasks for process > migration with the name 'migration/cpu#'. > > Signed-off-by: Pankaj Gupta > --- > migration/migration.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/migration/migration.c b/migration/migration.c > index f498ab8..6ebd606 100644 > --- a/migration/migration.c > +++ b/migration/migration.c > @@ -1969,7 +1969,7 @@ void migrate_fd_connect(MigrationState *s) > } > > migrate_compress_threads_create(); > - qemu_thread_create(&s->thread, "migration", migration_thread, s, > + qemu_thread_create(&s->thread, "qemu_vm_migration", migration_thread, s, > QEMU_THREAD_JOINABLE); Are you sure that works? For me it doesn't change the name. There's a maximum length that I think is somewhere around 16 characters and that name is too long. Changing it to "qemu_migration" seems to work. Dave > s->migration_thread_running = true; > } > -- > 2.7.4 > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK