]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: KVM: Introduce system counter offset test
authorOliver Upton <oupton@google.com>
Thu, 16 Sep 2021 18:15:51 +0000 (18:15 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Oct 2021 18:43:46 +0000 (14:43 -0400)
commitaf2f4856ad10efa64126e77d3ef70991e6fe7008
treeb64f66c5d7f120c27989e15e63e75f15d8f324a0
parent057dab7d25797f0769553a3ff555f354288c0857
selftests: KVM: Introduce system counter offset test

Introduce a KVM selftest to verify that userspace manipulation of the
TSC (via the new vCPU attribute) results in the correct behavior within
the guest.

Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Oliver Upton <oupton@google.com>
Message-Id: <20210916181555.973085-6-oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/devices/vcpu.rst
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/system_counter_offset_test.c [new file with mode: 0644]