]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: SVM: remove vgif_enabled()
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 22 Mar 2022 17:24:49 +0000 (19:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Apr 2022 09:41:22 +0000 (05:41 -0400)
commit5cec93e7961a2d8f36ef62a1bd2ccb8210cb3b9a
tree44651694ff80a7a383c517de2649bb7686fe0f3c
parent6f8e2609892f5b900ff78e65a36ec78f5476763e
KVM: x86: SVM: remove vgif_enabled()

KVM always uses vgif when allowed, thus there is
no need to query current vmcb for it

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