]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools, x86: Fix munmap() size in kvm__arch_delete_ram()
authorPekka Enberg <penberg@kernel.org>
Sat, 4 Feb 2012 09:04:24 +0000 (11:04 +0200)
committerPekka Enberg <penberg@kernel.org>
Sat, 4 Feb 2012 09:04:24 +0000 (11:04 +0200)
commitdb748dc72be6322b4f9b0be6accb3cb863e43ee3
tree9bb0f678cd39b4de9b060e10978733681614d98a
parentd94f5ffce2462d9d157f29927c2e96cffee51f7e
kvm tools, x86: Fix munmap() size in kvm__arch_delete_ram()

Sasha noticed during code review that commit e106906 ("kvm tool: Change
kvm->ram_size to real mapped size.") changed kvm->ram_size accounting to
include 32-bit memory hole but forgot to update munmap in
kvm__arch_delete_ram().

Reported-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/x86/kvm.c