Re: [PATCH] KVM: stats: Remove debugfs interface for KVM stats

2021-06-11 Thread Jing Zhang
On Fri, Jun 11, 2021 at 10:18 AM Paolo Bonzini wrote: > > On 11/06/21 17:00, Jing Zhang wrote: > > To avoid duplication, remove the debugfs interface for KVM stats, > > since the fd-based binary stats interface is available. > > That would be too easy. :) We need to keep the debugfs code because

Re: [PATCH] KVM: stats: Remove debugfs interface for KVM stats

2021-06-11 Thread Jing Zhang
Hi Paolo, On Fri, Jun 11, 2021 at 10:00 AM Jing Zhang wrote: > > To avoid duplication, remove the debugfs interface for KVM stats, > since the fd-based binary stats interface is available. > > Signed-off-by: Jing Zhang > --- > arch/arm64/kvm/guest.c| 16 --- > arch/mips/kvm/mips.c |

[PATCH] KVM: stats: Remove debugfs interface for KVM stats

2021-06-11 Thread Jing Zhang
To avoid duplication, remove the debugfs interface for KVM stats, since the fd-based binary stats interface is available. Signed-off-by: Jing Zhang --- arch/arm64/kvm/guest.c| 16 --- arch/mips/kvm/mips.c | 39 -- arch/powerpc/kvm/book3s.c | 33 - arch/powerpc/kvm/booke.c |

Re: [PATCH] KVM: stats: Remove debugfs interface for KVM stats

2021-06-11 Thread Paolo Bonzini
On 11/06/21 17:00, Jing Zhang wrote: To avoid duplication, remove the debugfs interface for KVM stats, since the fd-based binary stats interface is available. That would be too easy. :) We need to keep the debugfs code because it is not yet a 100% replacement for binary stats (it allows to in