diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-01-26 14:18:04 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-26 12:15:03 -0500 |
commit | 033a3ea59a19df63edb4db6bfdbb357cd028258a (patch) | |
tree | 9e93ea4de7eda3507d1fe7296237cde34b30d55f /tools | |
parent | f7e570780efc5cec9b2ed1e0472a7da14e864fdb (diff) | |
download | linux-stable-033a3ea59a19df63edb4db6bfdbb357cd028258a.tar.gz linux-stable-033a3ea59a19df63edb4db6bfdbb357cd028258a.tar.bz2 linux-stable-033a3ea59a19df63edb4db6bfdbb357cd028258a.zip |
KVM: x86: Check .flags in kvm_cpuid_check_equal() too
kvm_cpuid_check_equal() checks for the (full) equality of the supplied
CPUID data so .flags need to be checked too.
Reported-by: Sean Christopherson <seanjc@google.com>
Fixes: c6617c61e8fe ("KVM: x86: Partially allow KVM_SET_CPUID{,2} after KVM_RUN")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20220126131804.2839410-1-vkuznets@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions