Signed-off-by: Andreas Herrmann <andreas.herrm...@caviumnetworks.com>
---
 tools/kvm/term.c       |    2 ++
 tools/kvm/virtio/net.c |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/tools/kvm/term.c b/tools/kvm/term.c
index 1b8131a..5754510 100644
--- a/tools/kvm/term.c
+++ b/tools/kvm/term.c
@@ -104,6 +104,8 @@ static void *term_poll_thread_loop(void *param)
 
        int i;
 
+       kvm__set_thread_name("term-poll");
+
        for (i = 0; i < TERM_MAX_DEVS; i++) {
                fds[i].fd = term_fds[i][TERM_FD_IN];
                fds[i].events = POLLIN;
diff --git a/tools/kvm/virtio/net.c b/tools/kvm/virtio/net.c
index ecdb94e..fed5095 100644
--- a/tools/kvm/virtio/net.c
+++ b/tools/kvm/virtio/net.c
@@ -233,6 +233,8 @@ static void *virtio_net_ctrl_thread(void *p)
        struct virtio_net_ctrl_hdr *ctrl;
        virtio_net_ctrl_ack *ack;
 
+       kvm__set_thread_name("virtio-net-ctrl");
+
        while (1) {
                mutex_lock(&ndev->io_lock[id]);
                if (!virt_queue__available(vq))
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to