OSDN Git Service

KVM: debugfs: expose pid of vcpu threads
authorVineeth Pillai <vineeth@bitbyteword.org>
Mon, 23 May 2022 19:03:27 +0000 (15:03 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 16:44:33 +0000 (12:44 -0400)
commite36de87d34a7f2f26b2e2129c6dc18a0024663eb
tree918a3c1b2ab14fea239dd480a75f04369765d161
parent4de5c54f8c806621ab055eeb240877d75d53b208
KVM: debugfs: expose pid of vcpu threads

Add a new debugfs file to expose the pid of each vcpu threads. This
is very helpful for userland tools to get the vcpu pids without
worrying about thread naming conventions of the VMM.

Signed-off-by: Vineeth Pillai (Google) <vineeth@bitbyteword.org>
Message-Id: <20220523190327.2658-1-vineeth@bitbyteword.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c