qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] memory: use memory_region_init_ram() instead of m


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

On 15/02/19 16:42, Igor Mammedov wrote:
>>
>> What about -m, too?  Then you'd specify a memdev instead of the initial
>> memory size.
> that somewhat what I've planned,
> make -m X translate into -object 
> memory-backend-ram,id=magically-get-what-board-uses-now,size=X -machine 
> memdev=thatid
> 
> one more reason for memdev vs device is that -numa now uses memdevs and so 
> far it
> doesn't look that non-numa initial RAM would get immediate benefits from 
> using -device
> on most boards (well, I couldn't come up with any modulo backend/frontend 
> consistent usage)

What I meant is what about making the non-NUMA option -m memdev=thatid
(and the automatic translation you mention too).  Yes, bikeshedding. :)

Paolo




reply via email to

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