Hi David,
On 17.01.2024 14:55, David Hildenbrand wrote:
> Reintroduce a modified region size check, after we would now allow some
> configurations that don't make any sense (e.g., partial hugetlb pages,
> 1G+1byte DIMMs).
>
> We have to take care of hv-balloon first, which was the case why we
> remove that check in the first place.
>
> Cc: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
> Cc: Mario Casquero <mcasquer@redhat.com>
> Cc: Igor Mammedov <imammedo@redhat.com>
> Cc: Xiao Guangrong <xiaoguangrong.eric@gmail.com>
>
> David Hildenbrand (2):
> hv-balloon: use get_min_alignment() to express 32 GiB alignment
> memory-device: reintroduce memory region size check
>
> hw/hyperv/hv-balloon.c | 37 +++++++++++++++++++++----------------
> hw/mem/memory-device.c | 14 ++++++++++++++
> 2 files changed, 35 insertions(+), 16 deletions(-)
>
Looked at the changes, tested hv-balloon with a small memory
backend and it seem to work fine, so for the whole series:
Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Thanks,
Maciej