migration: Enable UFFD_FEATURE_THREAD_ID even without blocktime feat
commit2d1c37c603ab3ed9ec1abfc4f4491b8680b23a77
authorPeter Xu <peterx@redhat.com>
Wed, 19 Jan 2022 08:09:17 +0000 (19 16:09 +0800)
committerJuan Quintela <quintela@redhat.com>
Fri, 28 Jan 2022 14:38:23 +0000 (28 15:38 +0100)
tree57eaa239d89182f7efb29ef7f44867da86660af9
parent258f5c9825a9fb77aeae8a9d8c0877e714c090e2
migration: Enable UFFD_FEATURE_THREAD_ID even without blocktime feat

This patch allows us to read the tid even without blocktime feature enabled.
It's useful when tracing postcopy fault thread on faulted pages to show thread
id too with the address.

Remove the comments - they're merely not helpful at all.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/postcopy-ram.c