On Mon, 2024-08-19 at 09:17 +0800, Tao Su wrote: > > default: > > r = -EINVAL; > > + if (kvm_x86_ops.vm_enable_cap) > > + r = static_call(kvm_x86_vm_enable_cap)(kvm, cap); > > Can we use kvm_x86_call(vm_enable_cap)(kvm, cap)? Patch18 has similar > situation > for "vcpu_mem_enc_ioctl", maybe we can also use kvm_x86_call there if static > call optimization is needed. Yep, this code just predated the creation of kvm_x86_call. We should update it, thanks.