From: Avi Kivity Date: Mon, 15 Mar 2010 11:59:53 +0000 (+0200) Subject: KVM: MMU: Consolidate two guest pte reads in kvm_mmu_pte_write() X-Git-Tag: v2.6.35-rc1~436^2~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72016f3a4221799a0b1fdf443ef6e29db572a9bb;p=pandora-kernel.git KVM: MMU: Consolidate two guest pte reads in kvm_mmu_pte_write() kvm_mmu_pte_write() reads guest ptes in two different occasions, both to allow a 32-bit pae guest to update a pte with 4-byte writes. Consolidate these into a single read, which also allows us to consolidate another read from an invlpg speculating a gpte into the shadow page table. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed