diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2024-02-28 11:18:37 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-03-06 09:59:20 -0800 |
commit | c2585047c8e185b070ad5c7bd887ef59cee3941f (patch) | |
tree | e51636a923adc8efb93a2e1496c4307fe8d9f8e6 /ipc | |
parent | 4736d85f0d18ad0469439a0ebc7ccb0cd94bd754 (diff) | |
download | linux-stable-c2585047c8e185b070ad5c7bd887ef59cee3941f.tar.gz linux-stable-c2585047c8e185b070ad5c7bd887ef59cee3941f.tar.bz2 linux-stable-c2585047c8e185b070ad5c7bd887ef59cee3941f.zip |
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 'ipc')
0 files changed, 0 insertions, 0 deletions