]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1fb2ec8abb322bab290c7c6d3f25ec59c618129
tree918a3c1b2ab14fea239dd480a75f04369765d161
parent1f25d70c2ed0a8aa4c7e69be2f9969e2500c8148
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