diff options
| author | 2022-02-15 13:07:10 -0500 | |
|---|---|---|
| committer | 2022-02-18 12:44:22 -0500 | |
| commit | 5be2226f417d5b06d17e6c52d6e341cf43c29e48 (patch) | |
| tree | 21110cf9b519a8c4de6fb799ed7db0ffdb4117a5 /include/uapi/linux | |
| parent | KVM: x86: make several APIC virtualization callbacks optional (diff) | |
| download | linux-dev-5be2226f417d5b06d17e6c52d6e341cf43c29e48.tar.xz linux-dev-5be2226f417d5b06d17e6c52d6e341cf43c29e48.zip | |
KVM: x86: allow defining return-0 static calls
A few vendor callbacks are only used by VMX, but they return an integer
or bool value. Introduce KVM_X86_OP_OPTIONAL_RET0 for them: if a func is
NULL in struct kvm_x86_ops, it will be changed to __static_call_return0
when updating static calls.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
