On Mon, Mar 12, 2018 at 02:11:07PM +0100, Igor Mammedov wrote:
> in preparation for numa options to being handled via QMP before
> machine_run_board_init(), move final numa configuration checks
> and processing to machine_run_board_init() so it could take into
> account both CLI (via parse_numa_opts()) and QMP input
>
> Signed-off-by: Igor Mammedov <[email protected]>
> ---
> v2:
> - remove duplicate qemu_opts_foreach() in numa_complete_configuration()
> that was causing non explicitly IDed node "-numa node" parsed twice.
So, this moves initialization from parse_numa_opts() to
machine_run_board_init().
Let's see what can happen between those two functions:
Current code on main():
parse_numa_opts(current_machine);
machine_run_board_init(current_machine);
Wonderful. :)
Reviewed-by: Eduardo Habkost <[email protected]>
--
Eduardo