aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/mmu.c
diff options
context:
space:
mode:
authorIzik Eidus <izike@qumranet.com>2007-10-25 05:54:04 -0400
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:52:55 -0500
commit80b14b5b32cb0a98234283daf9b5a6643e1a1ef3 (patch)
tree1abf719d18e5bcbb6ba7fd5b517bb70ebb8b1776 /drivers/kvm/mmu.c
parent5f43238d036fb30e73563e81e42d9c6f1de5551a (diff)
KVM: Unmap kernel-allocated memory on slot destruction
kvm_vm_ioctl_set_memory_region() is able to remove memory in addition to adding it. Therefore when using kernel swapping support for old userspaces, we need to munmap the memory if the user request to remove it Signed-off-by: Izik Eidus <izike@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions