OSDN Git Service

KVM: X86: Do the same ignore_msrs check for feature msrs
authorPeter Xu <peterx@redhat.com>
Mon, 22 Jun 2020 22:04:42 +0000 (18:04 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jul 2020 20:21:40 +0000 (16:21 -0400)
commit12bc2132b15e0a969b3f455d90a5f215ef239eff
treea090be2f6995141fcd24283ed6a613ba789f8e10
parent6abe9c1386e5c86f360e4e8fde8eec95eee77aa3
KVM: X86: Do the same ignore_msrs check for feature msrs

Logically the ignore_msrs and report_ignored_msrs should also apply to feature
MSRs.  Add them in.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20200622220442.21998-3-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c