commit | 2843099fee32a6020e1caa95c6026f28b5d43bff | [log] [tgz] |
---|---|---|
author | Izik Eidus <ieidus@redhat.com> | Fri Oct 03 17:40:32 2008 +0300 |
committer | Avi Kivity <avi@redhat.com> | Wed Dec 31 16:51:50 2008 +0200 |
tree | 774ddfeec4091adddf9bd9ce938648dad14c378e | |
parent | 6eb55818c043b097c83828da8430fcb9a02fdb89 [diff] |
KVM: MMU: Fix aliased gfns treated as unaliased Some areas of kvm x86 mmu are using gfn offset inside a slot without unaliasing the gfn first. This patch makes sure that the gfn will be unaliased and add gfn_to_memslot_unaliased() to save the calculating of the gfn unaliasing in case we have it unaliased already. Signed-off-by: Izik Eidus <ieidus@redhat.com> Acked-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>