diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-13 03:20:06 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-14 04:21:15 -0400 |
commit | 9ef1530c0c1bb182d7f60165946bd027ff49282e (patch) | |
tree | 8428760145532f11e9b400bfc70e8db02c717bf9 /tools/perf/scripts/python | |
parent | dbef2808af6c594922fe32833b30f55f35e9da6d (diff) |
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: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions