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.szmigi...@oracle.com> Cc: Mario Casquero <mcasq...@redhat.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: Xiao Guangrong <xiaoguangrong.e...@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(-) -- 2.43.0