]> 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)
commitfb6d10eaea2fe65cf1e5ada78b05d4560d91336b
treef9296ad799b1d138ce0c7ebb52aaae47df26be51
parent93eedcbb21dfeb4410dbf1d7378163397aeb1275
KVM: selftests: fix hyperv_clock test

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

Fixes: db98fd7e69dc ("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