Re: [PULL 006/136] vl.c: move -m parsing after memory backends has been processed

2020-03-26 Thread Igor Mammedov
On Thu, 26 Mar 2020 10:20:31 +0100 Auger Eric wrote: > Hi > > On 2/25/20 12:48 PM, Paolo Bonzini wrote: > > From: Igor Mammedov > > > > It will be possible for main RAM to come from memory-backend > > and we should check that size specified in -m matches the size > > of the backend and [Machin

Re: [PULL 006/136] vl.c: move -m parsing after memory backends has been processed

2020-03-26 Thread Auger Eric
Hi On 2/25/20 12:48 PM, Paolo Bonzini wrote: > From: Igor Mammedov > > It will be possible for main RAM to come from memory-backend > and we should check that size specified in -m matches the size > of the backend and [MachineState::]ram_size also matches > backend's size. > > However -m parsin

[PULL 006/136] vl.c: move -m parsing after memory backends has been processed

2020-02-25 Thread Paolo Bonzini
From: Igor Mammedov It will be possible for main RAM to come from memory-backend and we should check that size specified in -m matches the size of the backend and [MachineState::]ram_size also matches backend's size. However -m parsing (set_memory_options()) happens before backends are intialize