diff options
author | Izik Eidus | 2008-10-03 16:40:32 +0200 |
---|---|---|
committer | Avi Kivity | 2008-12-31 15:51:50 +0100 |
commit | 2843099fee32a6020e1caa95c6026f28b5d43bff (patch) | |
tree | 774ddfeec4091adddf9bd9ce938648dad14c378e /mm/swap_state.c | |
parent | KVM: Enable Function Level Reset for assigned device (diff) | |
download | kernel-qcow2-linux-2843099fee32a6020e1caa95c6026f28b5d43bff.tar.gz kernel-qcow2-linux-2843099fee32a6020e1caa95c6026f28b5d43bff.tar.xz kernel-qcow2-linux-2843099fee32a6020e1caa95c6026f28b5d43bff.zip |
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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions