OSDN Git Service

KVM: x86: SVM: allow to force AVIC to be enabled
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 1 Mar 2022 14:36:49 +0000 (16:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Apr 2022 09:41:11 +0000 (05:41 -0400)
commitedf721238576544ed8daf9943ab398bb27da8e6b
tree3139140539b522814c9c47c8448565dee21d70d0
parentb9f3973ab3a80141a6decc34f4740e6494ca7d51
KVM: x86: SVM: allow to force AVIC to be enabled

Apparently on some systems AVIC is disabled in CPUID but still usable.

Allow the user to override the CPUID if the user is willing to
take the risk.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220301143650.143749-7-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c