]> 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)
commit9e2c0d0b5830100b3fb6f402da5f8fc6d298d2cf
tree918a3c1b2ab14fea239dd480a75f04369765d161
parenta058f1fc80e121661dd9d5071177e13bd76cb319
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