ARM: KVM: Unmap IPA on memslot delete/move
authorEric Auger <eric.auger@linaro.org>
Fri, 6 Jun 2014 09:10:23 +0000 (11:10 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:46:52 +0000 (04:46 -0700)
commitdf6ce24f2ee485c4f9a5cb610063a5eb60da8267
treedc0cfb6654c6c9e3f0996fa02b1ceebc2fea8339
parent4f853a714bf16338ff5261128e6c7ae2569e9505
ARM: KVM: Unmap IPA on memslot delete/move

Currently when a KVM region is deleted or moved after
KVM_SET_USER_MEMORY_REGION ioctl, the corresponding
intermediate physical memory is not unmapped.

This patch corrects this and unmaps the region's IPA range
in kvm_arch_commit_memory_region using unmap_stage2_range.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c
arch/arm/kvm/mmu.c
This page took 0.041861 seconds and 5 git commands to generate.