Re: [PATCH 1/1] KVM: selftests: add kvmclock drift test

2024-08-16 Thread Sean Christopherson
On Sat, Jan 06, 2024, Dongli Zhang wrote: > diff --git a/tools/testing/selftests/kvm/x86_64/kvm_clock_drift.c > b/tools/testing/selftests/kvm/x86_64/kvm_clock_drift.c > new file mode 100644 > index ..324f0dbc5762 > --- /dev/null > +++ b/tools/testing/selftests/kvm/x86_64/kvm_clock_drif

Re: [PATCH 1/1] KVM: selftests: add kvmclock drift test

2024-04-04 Thread David Woodhouse
On Sat, 2024-01-06 at 00:33 -0800, Dongli Zhang wrote: > There is kvmclock drift issue during the vCPU hotplug. It has been fixed by > the commit c52ffadc65e2 ("KVM: x86: Don't unnecessarily force masterclock > update on vCPU hotplug"). > > This is to add the test to verify if the master clock is

Re: [PATCH 1/1] KVM: selftests: add kvmclock drift test

2024-01-29 Thread Dongli Zhang
Ping :) BTW, I see Vitaly Kuznetsov has a patch to generalize check_clocksource(), which is also used by this patch. [PATCH 1/5] KVM: selftests: Generalize check_clocksource() from kvm_clock_test https://lore.kernel.org/all/20240109141121.1619463-2-vkuzn...@redhat.com/ Thank you very much! Dong

[PATCH 1/1] KVM: selftests: add kvmclock drift test

2024-01-06 Thread Dongli Zhang
There is kvmclock drift issue during the vCPU hotplug. It has been fixed by the commit c52ffadc65e2 ("KVM: x86: Don't unnecessarily force masterclock update on vCPU hotplug"). This is to add the test to verify if the master clock is updated when we write 0 to MSR_IA32_TSC from the host side. Here