On Tue, 11 Jan 2022 11:54:04 +1100, Alexey Kardashevskiy wrote: > At the moment KVM on PPC creates 4 types of entries under the kvm debugfs: > 1) "%pid-%fd" per a KVM instance (for all platforms); > 2) "vm%pid" (for PPC Book3s HV KVM); > 3) "vm%u_vcpu%u_timing" (for PPC Book3e KVM); > 4) "kvm-xive-%p" (for XIVE PPC Book3s KVM, the same for XICS); > > The problem with this is that multiple VMs per process is not allowed for > 2) and 3) which makes it possible for userspace to trigger errors when > creating duplicated debugfs entries. > > [...]
Applied to powerpc/topic/ppc-kvm. [1/1] KVM: PPC: Merge powerpc's debugfs entry content into generic entry https://git.kernel.org/powerpc/c/faf01aef0570757bfbf1d655e984742c1dd38068 cheers