qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [RFC] memory: use memory_region_init_ram() instead of mem


From: Paolo Bonzini
Subject: Re: [Qemu-arm] [RFC] memory: use memory_region_init_ram() instead of memory_region_allocate_system_memory()
Date: Thu, 14 Feb 2019 19:11:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 14/02/19 15:07, Igor Mammedov wrote:
> Also some boards (ab)use memory_region_allocate_system_memory(), calling it 
> several
> times to allocate various fixed sized chunks of RAM and ROMs, which is 
> problematic
> to map to a single initial RAM Machine::memdev backend and is currently 
> broken if
> -mem-path points to a not hugepage pool.

This is certainly a good idea.  However, I'm not sure why you would need
a memdev property on the Machine instead of just allowing 1 -numa node,
which is what really is.

Thanks,

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]