Re: [PATCH] KVM: x86/mmu: Declare flush_remote_tlbs{_range}() hooks iff HYPERV!=n

From: Sean Christopherson
Date: Wed Nov 29 2023 - 20:44:22 EST


On Wed, 18 Oct 2023 12:23:25 -0700, Sean Christopherson wrote:
> Declare the kvm_x86_ops hooks used to wire up paravirt TLB flushes when
> running under Hyper-V if and only if CONFIG_HYPERV!=n. Wrapping yet more
> code with IS_ENABLED(CONFIG_HYPERV) eliminates a handful of conditional
> branches, and makes it super obvious why the hooks *might* be valid.
>
>

Applied to kvm-x86 hyperv, thanks!

[1/1] KVM: x86/mmu: Declare flush_remote_tlbs{_range}() hooks iff HYPERV!=n
https://github.com/kvm-x86/linux/commit/0277022a77a5

--
https://github.com/kvm-x86/linux/tree/next