]> Git Repo - linux.git/commit
KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
authorPeter Gonda <[email protected]>
Fri, 4 Mar 2022 16:10:32 +0000 (08:10 -0800)
committerPaolo Bonzini <[email protected]>
Sat, 2 Apr 2022 09:34:40 +0000 (05:34 -0400)
commit4a9e7b9ea252842bc8b14d495706ac6317fafd5d
tree1c4d9afb3b7deb9cf6ce22c95bca49fe596904d7
parent95b065bf5c431c06c68056a03a5853b660640ecc
KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()

Include kvm_cache_regs.h to pick up the definition of is_guest_mode(),
which is referenced by nested_svm_virtualize_tpr() in svm.h. Remove
include from svm_onhpyerv.c which was done only because of lack of
include in svm.h.

Fixes: 883b0a91f41ab ("KVM: SVM: Move Nested SVM Implementation to nested.c")
Cc: Paolo Bonzini <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Peter Gonda <[email protected]>
Message-Id: <20220304161032.2270688[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/svm/svm.h
arch/x86/kvm/svm/svm_onhyperv.c
This page took 0.057999 seconds and 4 git commands to generate.