Commit 164cea33 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: selftests: Mask off OSPKE and OSXSAVE when comparing CPUID entries



Mask off OSPKE and OSXSAVE, which are toggled based on corresponding CR4
enabling bits, when comparing vCPU CPUID against KVM's supported CPUID.
This will allow setting OSXSAVE by default when creating vCPUs, without
causing test failures (KVM doesn't enumerate OSXSAVE=1).

Reviewed-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20241003234337.273364-4-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent f2c5aa31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment