diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-30 18:48:44 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-30 18:52:00 +0200 |
commit | 833b45de69a6016c4b0cebe6765d526a31a81580 (patch) | |
tree | 3587bb045750f3a8163657a5302dac6bc7324a7d /arch/powerpc/kvm/book3s_64_mmu_host.c | |
parent | 2e4a75976dfb88ee6ce019b1d4fa507aabd02c14 (diff) |
kvm: x86, powerpc: do not allow clearing largepages debugfs entry
The largepages debugfs entry is incremented/decremented as shadow
pages are created or destroyed. Clearing it will result in an
underflow, which is harmless to KVM but ugly (and could be
misinterpreted by tools that use debugfs information), so make
this particular statistic read-only.
Cc: kvm-ppc@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_mmu_host.c')
0 files changed, 0 insertions, 0 deletions