summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJoerg Roedel2009-03-05 13:12:29 +0100
committerAvi Kivity2009-06-10 10:48:26 +0200
commitf5a1e9f89504f57b2b45645a7239dc8a8ddb0f4c (patch)
tree535cc4d6928bc2457acf77d6b0a92e45dc772a12 /arch
parentKVM: Merge kvm_ioapic_get_delivery_bitmask into kvm_get_intr_delivery_bitmask (diff)
downloadkernel-qcow2-linux-f5a1e9f89504f57b2b45645a7239dc8a8ddb0f4c.tar.gz
kernel-qcow2-linux-f5a1e9f89504f57b2b45645a7239dc8a8ddb0f4c.tar.xz
kernel-qcow2-linux-f5a1e9f89504f57b2b45645a7239dc8a8ddb0f4c.zip
KVM: MMU: remove call to kvm_mmu_pte_write from walk_addr
There is no reason to update the shadow pte here because the guest pte is only changed to dirty state. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/paging_tmpl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h
index 6bd70206c561..855eb7111049 100644
--- a/arch/x86/kvm/paging_tmpl.h
+++ b/arch/x86/kvm/paging_tmpl.h
@@ -209,7 +209,6 @@ walk:
if (ret)
goto walk;
pte |= PT_DIRTY_MASK;
- kvm_mmu_pte_write(vcpu, pte_gpa, (u8 *)&pte, sizeof(pte), 0);
walker->ptes[walker->level - 1] = pte;
}