]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: fix hyperv_clock test
authorMaxim Levitsky <mlevitsk@redhat.com>
Wed, 4 Aug 2021 11:20:57 +0000 (14:20 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Aug 2021 13:43:03 +0000 (09:43 -0400)
commite2677b83054ace14855f7cb8ad9619a9b49f6d52
treef9296ad799b1d138ce0c7ebb52aaae47df26be51
parentf0b54a43c127a3025c63ce24041378be32703824
KVM: selftests: fix hyperv_clock test

The test was mistakenly using addr_gpa2hva on a gva and that happened
to work accidentally.  Commit bc2a5758db38 ("KVM: selftests: Lower the
min virtual address for misc page allocations") revealed this bug.

Fixes: baedb072c094 ("selftests: kvm: Add basic Hyper-V clocksources tests", 2021-03-18)
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210804112057.409498-1-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/hyperv_clock.c