diff options
author | Liang Chen <liangchen.linux@gmail.com> | 2014-09-18 12:38:37 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-24 14:07:51 +0200 |
commit | 77c3913b74212a86027d311f5e81625736816620 (patch) | |
tree | 4aa78168935fdc508b8194733afc0a55e3bae205 /arch/x86/kvm/vmx.c | |
parent | a70656b63a82d639b0cec54861bf8faf16ad74e6 (diff) | |
download | lwn-77c3913b74212a86027d311f5e81625736816620.tar.gz lwn-77c3913b74212a86027d311f5e81625736816620.zip |
KVM: x86: directly use kvm_make_request again
A one-line wrapper around kvm_make_request is not particularly
useful. Replace kvm_mmu_flush_tlb() with kvm_make_request().
Signed-off-by: Liang Chen <liangchen.linux@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 2ab504791190..ec389a6dc82a 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -6711,7 +6711,7 @@ static int handle_invept(struct kvm_vcpu *vcpu) switch (type) { case VMX_EPT_EXTENT_GLOBAL: kvm_mmu_sync_roots(vcpu); - kvm_mmu_flush_tlb(vcpu); + kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu); nested_vmx_succeed(vcpu); break; default: |