commit | 72016f3a4221799a0b1fdf443ef6e29db572a9bb | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Mar 15 13:59:53 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:15:37 2010 +0300 |
tree | ba1d110deb5e714ea39bd3c3ea4b1dcbd81352e9 | |
parent | d57e2c0740bbdd768dcbafe58cf62174f31d7c2d [diff] |
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 <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>