diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-01 14:18:07 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-18 12:31:17 -0500 |
| commit | 2a89061451c799bd36dbe1b90613c35212fc1f64 (patch) | |
| tree | f432f50161f47794e0528889ab6a659dccaf4824 /tools/perf/scripts/python/bin | |
| parent | KVM: x86: return 1 unconditionally for availability of KVM_CAP_VAPIC (diff) | |
| download | linux-2a89061451c799bd36dbe1b90613c35212fc1f64.tar.gz linux-2a89061451c799bd36dbe1b90613c35212fc1f64.zip | |
KVM: x86: use static_call_cond for optional callbacks
SVM implements neither update_emulated_instruction nor
set_apic_access_page_addr. Remove an "if" by calling them
with static_call_cond().
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
