Re: [PATCH] KVM: x86: Trace changes to active TSC offset regardless if vCPU in guest-mode

2018-11-26 Thread Paolo Bonzini
On 25/11/18 22:38, Liran Alon wrote: > > >> On 25 Nov 2018, at 19:53, Paolo Bonzini wrote: >> >> 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 ch

Re: [PATCH] KVM: x86: Trace changes to active TSC offset regardless if vCPU in guest-mode

2018-11-26 Thread Paolo Bonzini
On 25/11/18 22:38, Liran Alon wrote: > > >> On 25 Nov 2018, at 19:53, Paolo Bonzini wrote: >> >> 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 ch

Re: [PATCH] KVM: x86: Trace changes to active TSC offset regardless if vCPU in guest-mode

2018-11-25 Thread Liran Alon
> On 25 Nov 2018, at 19:53, Paolo Bonzini wrote: > > 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

[PATCH] KVM: x86: Trace changes to active TSC offset regardless if vCPU in guest-mode

2018-11-25 Thread Paolo Bonzini
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