qemu-patch-raspberry4/util
Paolo Bonzini e7a09b92b7 osdep: introduce qemu_anon_ram_free to free qemu_anon_ram_alloc-ed memory
We switched from qemu_memalign to mmap() but then we don't modify
qemu_vfree() to do a munmap() over free().  Which we cannot do
because qemu_vfree() frees memory allocated by qemu_{mem,block}align.

Introduce a new function that does the munmap(), luckily the size is
available in the RAMBlock.

Reported-by: Amos Kong <akong@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Message-id: 1368454796-14989-3-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-05-14 08:53:31 -05:00
..
acl.c
aes.c
bitmap.c
bitops.c
cache-utils.c
compatfd.c
crc32c.c
cutils.c
envlist.c
error.c
event_notifier-posix.c
event_notifier-win32.c
fifo8.c
hbitmap.c
hexdump.c
host-utils.c
iov.c
Makefile.objs
module.c
notify.c
osdep.c
oslib-posix.c osdep: introduce qemu_anon_ram_free to free qemu_anon_ram_alloc-ed memory 2013-05-14 08:53:31 -05:00
oslib-win32.c osdep: introduce qemu_anon_ram_free to free qemu_anon_ram_alloc-ed memory 2013-05-14 08:53:31 -05:00
path.c
qemu-config.c
qemu-error.c
qemu-option.c
qemu-progress.c
qemu-sockets.c
qemu-thread-posix.c
qemu-thread-win32.c
qemu-timer-common.c
unicode.c
uri.c