diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-11-01 15:54:02 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-18 12:59:15 -0500 |
commit | d4baf1a9a572910d7b4cd63d23bf4be89b7648bd (patch) | |
tree | 852e3b9e8bf12ebd4c5c1ab73e8daf3e8089695d /arch/x86/kvm/hyperv.c | |
parent | c58a318f6090efe06e6702b8882e2026f44f620e (diff) | |
download | lwn-d4baf1a9a572910d7b4cd63d23bf4be89b7648bd.tar.gz lwn-d4baf1a9a572910d7b4cd63d23bf4be89b7648bd.zip |
KVM: x86: hyper-v: Introduce fast guest_hv_cpuid_has_l2_tlb_flush() check
Introduce a helper to quickly check if KVM needs to handle VMCALL/VMMCALL
from L2 in L0 to process L2 TLB flush requests.
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221101145426.251680-25-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
0 files changed, 0 insertions, 0 deletions