diff options
author | 2021-03-05 10:31:22 -0800 | |
---|---|---|
committer | 2021-03-15 04:44:05 -0400 | |
commit | 14072e56958cc167a049d2be0aca78c733777d25 (patch) | |
tree | 73c9e055d03dd4bf0c8eaa1feb69422a40972144 /arch/x86/kvm/svm/nested.c | |
parent | KVM: VMX: Define Hyper-V paravirt TLB flush fields iff Hyper-V is enabled (diff) | |
download | linux-dev-14072e56958cc167a049d2be0aca78c733777d25.tar.xz linux-dev-14072e56958cc167a049d2be0aca78c733777d25.zip |
KVM: VMX: Skip additional Hyper-V TLB EPTP flushes if one fails
Skip additional EPTP flushes if one fails when processing EPTPs for
Hyper-V's paravirt TLB flushing. If _any_ flush fails, KVM falls back
to a full global flush, i.e. additional flushes are unnecessary (and
will likely fail anyways).
Continue processing the loop unless a mismatch was already detected,
e.g. to handle the case where the first flush fails and there is a
yet-to-be-detected mismatch.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210305183123.3978098-11-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions