I think it's not needed, because is_kvm_hc_exit_enabled() takes the input.
On 13/08/2024 5:12 pm, Binbin Wu wrote:
Use is_kvm_hc_exit_enabled() instead of opencode.
No functional change intended.
It would be helpful to mention currently hypercall_exit_enabled can only have KVM_HC_MAP_GPA_RANGE bit set (so that there will be no functional change).
Thanks for your review.
Signed-off-by: Binbin Wu <binbin.wu@xxxxxxxxxxxxxxx>
Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>