iothread: include id in thread name
commitd21e8776f6578be155714ae95c7d6c1bb03e8e34
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Nov 2015 13:46:44 +0000 (24 14:46 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 3 Dec 2015 03:08:01 +0000 (3 11:08 +0800)
tree3988bba629bece9859d2c06a42fb00843906ace8
parentcf22132367a188426ac07cf1805b214dd2d0cc80
iothread: include id in thread name

This makes it easier to find the desired thread.  Use "IO" plus the id;
even with the 14 character limit on the thread name, enough of the id should
be readable (e.g. "IO iothreadNNN" with three characters for the number).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1448372804-5034-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
iothread.c