summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/aarch64/set_id_regs.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2024-02-28 13:18:37 +0300
committerSean Christopherson <seanjc@google.com>2024-03-06 20:59:20 +0300
commitc2585047c8e185b070ad5c7bd887ef59cee3941f (patch)
treee51636a923adc8efb93a2e1496c4307fe8d9f8e6 /tools/testing/selftests/kvm/aarch64/set_id_regs.c
parent4736d85f0d18ad0469439a0ebc7ccb0cd94bd754 (diff)
downloadlinux-c2585047c8e185b070ad5c7bd887ef59cee3941f.tar.xz
KVM: selftests: Check that PV_UNHALT is cleared when HLT exiting is disabled
KVM_FEATURE_PV_UNHALT is expected to get cleared from KVM PV feature CPUID data when KVM_X86_DISABLE_EXITS_HLT is enabled. Add the corresponding test to kvm_pv_test. Note, the newly added code doesn't actually test KVM_FEATURE_PV_UNHALT and KVM_X86_DISABLE_EXITS_HLT features. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Link: https://lore.kernel.org/r/20240228101837.93642-4-vkuznets@redhat.com [sean: add and use vcpu_cpuid_has()] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/aarch64/set_id_regs.c')
0 files changed, 0 insertions, 0 deletions