]> git.itanic.dy.fi Git - linux-stable/commit
KVM: x86: Introduce helper to handle Hyper-V paravirt TLB flush requests
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 5 Dec 2023 10:36:21 +0000 (11:36 +0100)
committerSean Christopherson <seanjc@google.com>
Thu, 7 Dec 2023 17:34:23 +0000 (09:34 -0800)
commitaf9d544a452114eb54638015544b884e1befd0fb
tree40a015e47d14904558536bc001aefcfbdfc2ccbf
parente7ad84db4d718e18c7a133e941ba4c7d4c6d4cbf
KVM: x86: Introduce helper to handle Hyper-V paravirt TLB flush requests

As a preparation to making Hyper-V emulation optional, introduce a helper
to handle pending KVM_REQ_HV_TLB_FLUSH requests.

No functional change intended.

Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Tested-by: Jeremi Piotrowski <jpiotrowski@linux.microsoft.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20231205103630.1391318-8-vkuznets@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/hyperv.h
arch/x86/kvm/svm/nested.c
arch/x86/kvm/vmx/nested.c