diff options
author | 2021-03-18 15:09:49 +0100 | |
---|---|---|
committer | 2021-03-18 11:38:58 -0400 | |
commit | 2c7f76b4c42bd5d953bc821e151644434865f999 (patch) | |
tree | 5133ab0b3059e12e6e4df24c950649bc7d99379c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: hyper-v: Don't touch TSC page values when guest opted for re-enlightenment (diff) | |
download | wireguard-linux-2c7f76b4c42bd5d953bc821e151644434865f999.tar.xz wireguard-linux-2c7f76b4c42bd5d953bc821e151644434865f999.zip |
selftests: kvm: Add basic Hyper-V clocksources tests
Introduce a new selftest for Hyper-V clocksources (MSR-based reference TSC
and TSC page). As a starting point, test the following:
1) Reference TSC is 1Ghz clock.
2) Reference TSC and TSC page give the same reading.
3) TSC page gets updated upon KVM_SET_CLOCK call.
4) TSC page does not get updated when guest opted for reenlightenment.
5) Disabled TSC page doesn't get updated.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210318140949.1065740-1-vkuznets@redhat.com>
[Add a host-side test using TSC + KVM_GET_MSR too. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions