Re: [PATCH v3 11/15] util/mmap-alloc: Implement resizeable mmaps

2020-02-28 Thread Peter Xu
On Thu, Feb 27, 2020 at 11:12:01AM +0100, David Hildenbrand wrote: > Implement resizeable mmaps. For now, the actual resizing is not wired up. > Introduce qemu_ram_mmap_resizeable() and qemu_ram_mmap_resize(). Make > qemu_ram_mmap() a wrapper of qemu_ram_mmap_resizeable(). > > Cc: Richard Henderso

[PATCH v3 11/15] util/mmap-alloc: Implement resizeable mmaps

2020-02-27 Thread David Hildenbrand
Implement resizeable mmaps. For now, the actual resizing is not wired up. Introduce qemu_ram_mmap_resizeable() and qemu_ram_mmap_resize(). Make qemu_ram_mmap() a wrapper of qemu_ram_mmap_resizeable(). Cc: Richard Henderson Cc: Igor Kotrasinski Cc: Murilo Opsfelder Araujo Cc: "Michael S. Tsirkin