commit | ce35ef27d4b751706f76c48d32a7b0d27f2d2d19 | [log] [tgz] |
---|---|---|
author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | Wed Oct 19 13:49:47 2016 +1100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Nov 02 21:32:17 2016 +0100 |
tree | 9c1e63ba478cb2de6d7cacd1c28e7f013651d1d1 | |
parent | 868a32f327e34b82f2b087228fbb7df176c246e9 [diff] |
kvm/stats: Update kvm stats to clear on write to their debugfs entry Various kvm vm and vcpu stats are provided via debugfs entries. Currently there is no way to reset these stats back to zero. Add the ability to clear (reset back to zero) these stats on a per stat basis by writing to the debugfs files. Only a write value of 0 is accepted. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>