From: Izik Eidus Date: Thu, 25 Oct 2007 09:54:04 +0000 (+0200) Subject: KVM: Unmap kernel-allocated memory on slot destruction X-Git-Tag: v2.6.25-rc1~1138^2~192 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b14b5b32cb0a98234283daf9b5a6643e1a1ef3;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed