summaryrefslogtreecommitdiff
path: root/tools/kvm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-11-25 18:45:35 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-11-27 12:53:43 +0100
commit45c3af974ec6c22d7392e15eb5d755e3c0079bd1 (patch)
tree277efea56262b213fed6dbc68d1879219368c10a /tools/kvm
parentfd65d3142f734bc4376053c8d75670041903134d (diff)
KVM: x86: Trace changes to active TSC offset regardless if vCPU in guest-mode
For some reason, kvm_x86_ops->write_l1_tsc_offset() skipped trace of change to active TSC offset in case vCPU is in guest-mode. This patch changes write_l1_tsc_offset() behavior to trace any change to active TSC offset to aid debugging. The VMX code is changed to look more similar to SVM, which is in my opinion nicer. Based on a patch by Liran Alon. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/kvm')
0 files changed, 0 insertions, 0 deletions