]> git.baikalelectronics.ru Git - kernel.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>
Sat, 2 Apr 2022 09:41:11 +0000 (05:41 -0400)
commit5eaf8985c216f9a662cf8e1e0b9ae7d33fe95a29
tree3139140539b522814c9c47c8448565dee21d70d0
parentb370e5daf041dcaffc6eb1ad7537f7cafb221b3d
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