]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: Put thread names together with macros
authorPeter Xu <peterx@redhat.com>
Fri, 11 Oct 2024 15:36:52 +0000 (11:36 -0400)
committerPeter Xu <peterx@redhat.com>
Thu, 31 Oct 2024 19:48:18 +0000 (15:48 -0400)
commite620b1e4770bc779a6a9467ff753e0acdd4c57f5
treec197f21095873034e4762373ae8fc29fe66dc307
parent6dd4f44c4f6b1046e5ceb593b9ab4f8fbb92f028
migration: Put thread names together with macros

Keep migration thread names together, so it's easier to see a list of all
possible migration threads.

Still two functional changes below besides the macro defintions:

  - There's one dirty rate thread that we overlooked before, now we add
  that too and name it as "mig/dirtyrate" following the old rules.

  - The old name "mig/src/rp-thr" has "-thr" but it may not be useful if
  it's a thread name anyway, while "rp" can be slightly hard to read.
  Taking this chance to rename it to "mig/src/return", hopefully a better
  name.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Acked-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Link: https://lore.kernel.org/r/20241011153652.517440-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/colo.c
migration/dirtyrate.c
migration/migration.c
migration/migration.h
migration/multifd.c
migration/postcopy-ram.c
migration/savevm.c