diff options
author | Eric Hankland <ehankland@google.com> | 2020-02-22 05:34:13 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 19:57:30 +0300 |
commit | 168d918f2643d7d3f0240e768d40b4f8aba3540a (patch) | |
tree | 1279f78c5f7baa15856fbfe9fd87ca7def67c28a /net | |
parent | 7f42aa76d4a5587939ee98d541ea1b97b382f408 (diff) | |
download | linux-168d918f2643d7d3f0240e768d40b4f8aba3540a.tar.xz |
KVM: x86: Adjust counter sample period after a wrmsr
The sample_period of a counter tracks when that counter will
overflow and set global status/trigger a PMI. However this currently
only gets set when the initial counter is created or when a counter is
resumed; this updates the sample period after a wrmsr so running
counters will accurately reflect their new value.
Signed-off-by: Eric Hankland <ehankland@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions