]> www.infradead.org Git - users/dwmw2/linux.git/commit
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>
Wed, 9 Mar 2022 13:41:44 +0000 (08:41 -0500)
commit8c1db5a775bc8314d78e99263e0d063a01b692c2
tree620157ad400dc7ff34903f8a6e64c21c0f903cd0
parent6396057ca24d5713991e3219bed3458b670bcfe7
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