Re: [PATCH for-5.0 v2 3/3] exec: Fix for qemu_ram_resize() callback

2020-04-03 Thread Philippe Mathieu-Daudé
On 4/3/20 12:18 PM, Shameer Kolothum wrote: From: David Hildenbrand Summarizing the issue: 1. Memory regions contain ram blocks with a different size, if the size is not properly aligned. While memory regions can have an unaligned size, ram blocks can't. This is true when creating

[PATCH for-5.0 v2 3/3] exec: Fix for qemu_ram_resize() callback

2020-04-03 Thread Shameer Kolothum
From: David Hildenbrand Summarizing the issue: 1. Memory regions contain ram blocks with a different size, if the size is not properly aligned. While memory regions can have an unaligned size, ram blocks can't. This is true when creating resizable memory region with an unaligned size.