Wei Wang 896046474f KVM: x86: Introduce kvm_x86_call() to simplify static calls of kvm_x86_ops
Introduces kvm_x86_call(), to streamline the usage of static calls of
kvm_x86_ops. The current implementation of these calls is verbose and
could lead to alignment challenges. This makes the code susceptible to
exceeding the "80 columns per single line of code" limit as defined in
the coding-style document. Another issue with the existing implementation
is that the addition of kvm_x86_ prefix to hooks at the static_call sites
hinders code readability and navigation. kvm_x86_call() is added to
improve code readability and maintainability, while adhering to the coding
style guidelines.

Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Link: https://lore.kernel.org/r/20240507133103.15052-3-wei.w.wang@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-07-16 12:14:12 -04:00
..
2024-05-23 19:40:26 -07:00
2024-05-27 16:26:30 -07:00
2024-07-16 09:51:36 -04:00
2024-07-16 09:51:36 -04:00
2024-05-23 19:40:26 -07:00
2024-07-16 09:51:36 -04:00
2024-05-18 12:39:20 -07:00
2024-07-16 09:51:36 -04:00
2024-07-16 09:51:36 -04:00
2024-07-16 09:51:36 -04:00
2024-06-25 15:57:26 +02:00
2024-05-23 19:40:26 -07:00