Re: [PATCH kernel] KVM: PPC: Expose userspace mm context id via debugfs

2018-07-16 Thread Paul Mackerras
On Thu, Jul 12, 2018 at 05:30:26PM +1000, Alexey Kardashevskiy wrote: > This adds a debugfs entry with mm context id of a process which is using > KVM. This id is an index in the process table so the userspace can dump > that tree provided it is granted access to /dev/mem. Is the main intention he

[PATCH kernel] KVM: PPC: Expose userspace mm context id via debugfs

2018-07-12 Thread Alexey Kardashevskiy
This adds a debugfs entry with mm context id of a process which is using KVM. This id is an index in the process table so the userspace can dump that tree provided it is granted access to /dev/mem. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/kvm_host.h | 1 + arch/powerpc/k