aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/mmu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 5a046f93a41a..fd61d715ebd6 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -1776,6 +1776,11 @@ restart:
1776 } 1776 }
1777 } 1777 }
1778 1778
1779 if (need_flush && kvm_available_flush_tlb_with_range()) {
1780 kvm_flush_remote_tlbs_with_address(kvm, gfn, 1);
1781 return 0;
1782 }
1783
1779 return need_flush; 1784 return need_flush;
1780} 1785}
1781 1786