[RESEND PATCH] exec: Implement qemu_ram_free_from_ptr()

2010-12-13 Thread Alex Williamson
Required for regions mapped via qemu_ram_alloc_from_ptr(). VFIO and ivshmem will make use of this to remove mappings when devices are hot unplugged. Signed-off-by: Alex Williamson alex.william...@redhat.com --- No comments on original patch. Obvious missing function. Cam has since requested

[PATCH] exec: Implement qemu_ram_free_from_ptr()

2010-10-29 Thread Alex Williamson
Required for regions mapped via qemu_ram_alloc_from_ptr(). VFIO will make use of this to remove mappings when devices are hot unplugged. (Current callers of qemu_ram_alloc_from_ptr() should probably need this too) Signed-off-by: Alex Williamson alex.william...@redhat.com --- cpu-common.h |