qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] memory-device: reintroduce memory region size check
@ 2024-01-17 13:55 David Hildenbrand
  2024-01-17 13:55 ` [PATCH v1 1/2] hv-balloon: use get_min_alignment() to express 32 GiB alignment David Hildenbrand
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: David Hildenbrand @ 2024-01-17 13:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: David Hildenbrand, Maciej S. Szmigiero, Mario Casquero,
	Igor Mammedov, Xiao Guangrong

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(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-01-22 16:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17 13:55 [PATCH v1 0/2] memory-device: reintroduce memory region size check David Hildenbrand
2024-01-17 13:55 ` [PATCH v1 1/2] hv-balloon: use get_min_alignment() to express 32 GiB alignment David Hildenbrand
2024-01-17 13:55 ` [PATCH v1 2/2] memory-device: reintroduce memory region size check David Hildenbrand
2024-01-18  3:08   ` Zhenyu Zhang
2024-01-19  8:35     ` Mario Casquero
2024-01-22 14:34 ` [PATCH v1 0/2] " Maciej S. Szmigiero
2024-01-22 16:49 ` David Hildenbrand
2024-01-22 16:50   ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).