Re: [PATCH v2 fixed 06/16] exec: Reuse qemu_ram_apply_settings() in qemu_ram_remap()

2020-02-18 Thread Peter Xu
On Wed, Feb 12, 2020 at 02:42:44PM +0100, David Hildenbrand wrote: > I don't see why we shouldn't apply all settings to make it look like the > surrounding RAM (and enable proper VMA merging). > > Note: memory backend settings might have overridden these settings. We > would need a callback to let

[PATCH v2 fixed 06/16] exec: Reuse qemu_ram_apply_settings() in qemu_ram_remap()

2020-02-12 Thread David Hildenbrand
I don't see why we shouldn't apply all settings to make it look like the surrounding RAM (and enable proper VMA merging). Note: memory backend settings might have overridden these settings. We would need a callback to let the memory backend fix that up. Reviewed-by: Richard Henderson Cc: Richard