Re: [PATCH 1/3] sparc64: use memory_region_allocate_system_memory() only for '-m' specified RAM

2019-10-08 Thread Igor Mammedov
On Tue, 8 Oct 2019 14:09:28 +0200 Philippe Mathieu-Daudé wrote: > On 10/8/19 1:33 PM, Igor Mammedov wrote: > > memory_region_allocate_system_memory() was designed to be called for > > allocating inital RAM. Using it mutiple times within one board is not > > supported and could fail if -mem-path w

Re: [PATCH 1/3] sparc64: use memory_region_allocate_system_memory() only for '-m' specified RAM

2019-10-08 Thread Philippe Mathieu-Daudé
On 10/8/19 1:33 PM, Igor Mammedov wrote: memory_region_allocate_system_memory() was designed to be called for allocating inital RAM. Using it mutiple times within one board is not supported and could fail if -mem-path with non hugepage path is used. Keep using memory_region_allocate_system_memor

[PATCH 1/3] sparc64: use memory_region_allocate_system_memory() only for '-m' specified RAM

2019-10-08 Thread Igor Mammedov
memory_region_allocate_system_memory() was designed to be called for allocating inital RAM. Using it mutiple times within one board is not supported and could fail if -mem-path with non hugepage path is used. Keep using memory_region_allocate_system_memory() only for initial RAM and use memory_reg