Skip to content
Commit 9ef1530c authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: SVM: fix compilation with modular PSP and non-modular KVM



Use svm_sev_enabled() in order to cull all calls to PSP code.  Otherwise,
compilation fails with undefined symbols if the PSP device driver is compiled
as a module and KVM is not.

Reported-by: default avatarUros Bizjak <ubizjak@gmail.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent dbef2808
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment