projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a97f0
)
KVM: VMX: Remove unnecessary code in vmx_tlb_flush()
author
Avi Kivity
<avi@qumranet.com>
Thu, 21 Jun 2007 08:54:45 +0000
(11:54 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Mon, 16 Jul 2007 09:05:49 +0000
(12:05 +0300)
A vmexit implicitly flushes the tlb; the code is bogus.
Noted by Shaohua Li.
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c
patch
|
blob
|
history
diff --git
a/drivers/kvm/vmx.c
b/drivers/kvm/vmx.c
index 42a916379ce29654e55dac5f1817873fc6d783f1..7d04ffaaf94a66d9c91db7df07e55771c1ab42dc 100644
(file)
--- a/
drivers/kvm/vmx.c
+++ b/
drivers/kvm/vmx.c
@@
-1987,7
+1987,6
@@
static int dm_request_for_irq_injection(struct kvm_vcpu *vcpu,
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)