commit | 71474e2f0f439b83b7b53ee6e9cf4f44c15b5806 | [log] [tgz] |
---|---|---|
author | Radim Krčmář <rkrcmar@redhat.com> | Wed Mar 02 22:56:45 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 04 09:30:01 2016 +0100 |
tree | 92305f6cbf6f6a935818ae102bab682fd38fd96e | |
parent | b39c90b6560c4458d46cb243abea0dcb7bc126d1 [diff] |
KVM: i8254: remove notifiers from PIT discard policy Discard policy doesn't rely on information from notifiers, so we don't need to register notifiers unconditionally. We kept correct counts in case userspace switched between policies during runtime, but that can be avoided by reseting the state. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>