Re: [Qemu-devel] [PATCH v2 3/4] pc: drop memory region alignment check for 0

2018-06-29 Thread Igor Mammedov
On Thu, 28 Jun 2018 14:14:16 +0200 David Hildenbrand wrote: > All applicable memory regions always have an alignment > 0. All memory > backends result in file_ram_alloc() or qemu_anon_ram_alloc() getting > called, setting the alignment to > 0. > > So a PCDIMM memory region always has an alignmen

Re: [Qemu-devel] [PATCH v2 3/4] pc: drop memory region alignment check for 0

2018-06-28 Thread David Gibson
On Thu, Jun 28, 2018 at 02:14:16PM +0200, David Hildenbrand wrote: > All applicable memory regions always have an alignment > 0. All memory > backends result in file_ram_alloc() or qemu_anon_ram_alloc() getting > called, setting the alignment to > 0. > > So a PCDIMM memory region always has an ali

[Qemu-devel] [PATCH v2 3/4] pc: drop memory region alignment check for 0

2018-06-28 Thread David Hildenbrand
All applicable memory regions always have an alignment > 0. All memory backends result in file_ram_alloc() or qemu_anon_ram_alloc() getting called, setting the alignment to > 0. So a PCDIMM memory region always has an alignment > 0. NVDIMM copy the alignment of the original memory memory region in