qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2] migration: Change name of live migration thread
@ 2017-01-23 13:42 Pankaj Gupta
  2017-01-23 13:45 ` Juan Quintela
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Pankaj Gupta @ 2017-01-23 13:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: quintela, amit.shah, dgilbert, pbonzini

Change the name of live migration thread from 'migration'
to 'live_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 <pagupta@redhat.com>
---
 migration/migration.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/migration.c b/migration/migration.c
index f498ab8..6b58976 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, "live_migration", migration_thread, s,
                        QEMU_THREAD_JOINABLE);
     s->migration_thread_running = true;
 }
-- 
2.7.4

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

* Re: [Qemu-devel] [PATCH v2] migration: Change name of live migration thread
  2017-01-23 13:42 [Qemu-devel] [PATCH v2] migration: Change name of live migration thread Pankaj Gupta
@ 2017-01-23 13:45 ` Juan Quintela
  2017-01-23 13:58 ` Dr. David Alan Gilbert
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Juan Quintela @ 2017-01-23 13:45 UTC (permalink / raw)
  To: Pankaj Gupta; +Cc: qemu-devel, amit.shah, dgilbert, pbonzini

Pankaj Gupta <pagupta@redhat.com> wrote:
> Change the name of live migration thread from 'migration'
> to 'live_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 <pagupta@redhat.com>

Reviewed-by: Juan Quintela <quintela@redhat.com>

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

* Re: [Qemu-devel] [PATCH v2] migration: Change name of live migration thread
  2017-01-23 13:42 [Qemu-devel] [PATCH v2] migration: Change name of live migration thread Pankaj Gupta
  2017-01-23 13:45 ` Juan Quintela
@ 2017-01-23 13:58 ` Dr. David Alan Gilbert
  2017-01-24 10:33 ` Amit Shah
  2017-01-24 11:58 ` Dr. David Alan Gilbert
  3 siblings, 0 replies; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2017-01-23 13:58 UTC (permalink / raw)
  To: Pankaj Gupta; +Cc: qemu-devel, quintela, amit.shah, pbonzini

* Pankaj Gupta (pagupta@redhat.com) wrote:
> Change the name of live migration thread from 'migration'
> to 'live_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 <pagupta@redhat.com>
> ---
>  migration/migration.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/migration/migration.c b/migration/migration.c
> index f498ab8..6b58976 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, "live_migration", migration_thread, s,
>                         QEMU_THREAD_JOINABLE);
>      s->migration_thread_running = true;
>  }

Yes, that fits; thanks.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

> -- 
> 2.7.4
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

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

* Re: [Qemu-devel] [PATCH v2] migration: Change name of live migration thread
  2017-01-23 13:42 [Qemu-devel] [PATCH v2] migration: Change name of live migration thread Pankaj Gupta
  2017-01-23 13:45 ` Juan Quintela
  2017-01-23 13:58 ` Dr. David Alan Gilbert
@ 2017-01-24 10:33 ` Amit Shah
  2017-01-24 11:58 ` Dr. David Alan Gilbert
  3 siblings, 0 replies; 5+ messages in thread
From: Amit Shah @ 2017-01-24 10:33 UTC (permalink / raw)
  To: Pankaj Gupta; +Cc: qemu-devel, quintela, dgilbert, pbonzini

On (Mon) 23 Jan 2017 [19:12:56], Pankaj Gupta wrote:
> Change the name of live migration thread from 'migration'
> to 'live_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 <pagupta@redhat.com>

Reviewed-by: Amit Shah <amit.shah@redhat.com>

		Amit

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

* Re: [Qemu-devel] [PATCH v2] migration: Change name of live migration thread
  2017-01-23 13:42 [Qemu-devel] [PATCH v2] migration: Change name of live migration thread Pankaj Gupta
                   ` (2 preceding siblings ...)
  2017-01-24 10:33 ` Amit Shah
@ 2017-01-24 11:58 ` Dr. David Alan Gilbert
  3 siblings, 0 replies; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2017-01-24 11:58 UTC (permalink / raw)
  To: Pankaj Gupta; +Cc: qemu-devel, quintela, amit.shah, pbonzini

* Pankaj Gupta (pagupta@redhat.com) wrote:
> Change the name of live migration thread from 'migration'
> to 'live_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 <pagupta@redhat.com>

Queued.

Dave

> ---
>  migration/migration.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/migration/migration.c b/migration/migration.c
> index f498ab8..6b58976 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, "live_migration", migration_thread, s,
>                         QEMU_THREAD_JOINABLE);
>      s->migration_thread_running = true;
>  }
> -- 
> 2.7.4
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

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

end of thread, other threads:[~2017-01-24 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23 13:42 [Qemu-devel] [PATCH v2] migration: Change name of live migration thread Pankaj Gupta
2017-01-23 13:45 ` Juan Quintela
2017-01-23 13:58 ` Dr. David Alan Gilbert
2017-01-24 10:33 ` Amit Shah
2017-01-24 11:58 ` Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).