Re: [Qemu-devel] [PATCH] vl.c: fix regression when reading memory size from config file

2015-01-12 Thread Paolo Bonzini
On 11/01/2015 11:38, Marcel Apfelbaum wrote: > This is happening because an actual logic is performed on the memory > arguments inside the main's switch, disregarding the config file content. > > Solved by extracting the logic on a separate function and calling it > after the switch. > > Signed

[Qemu-devel] [PATCH] vl.c: fix regression when reading memory size from config file

2015-01-11 Thread Marcel Apfelbaum
This is happening because an actual logic is performed on the memory arguments inside the main's switch, disregarding the config file content. Solved by extracting the logic on a separate function and calling it after the switch. Signed-off-by: Marcel Apfelbaum --- vl.c | 176 ++