commit | 796fd1b23e463e98b3e2fc86ed571db06dc945bb | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Thu Jun 21 11:54:45 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Mon Jul 16 12:05:49 2007 +0300 |
tree | 758ae75fddd38aa2a302448dd51539cd97e5fa08 | |
parent | 88a97f0b2fe1cd08d06390dc2669b709ea96e11a [diff] |
KVM: VMX: Remove unnecessary code in vmx_tlb_flush() A vmexit implicitly flushes the tlb; the code is bogus. Noted by Shaohua Li. Signed-off-by: Avi Kivity <avi@qumranet.com>
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 42a9163..7d04ffa 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c
@@ -1987,7 +1987,6 @@ static void vmx_flush_tlb(struct kvm_vcpu *vcpu) { - vmcs_writel(GUEST_CR3, vmcs_readl(GUEST_CR3)); } static int vmx_vcpu_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)