diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2018-07-04 21:22:39 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-07-09 14:37:48 -0300 |
commit | 7747abf114874537e898c60ff863828a4e82201d (patch) | |
tree | 97332124816c82a8285cc235bf680414d3122073 /vl.c | |
parent | 2ff4f67cabbefb1842b06611e4f79857fc42925a (diff) | |
download | qemu-7747abf114874537e898c60ff863828a4e82201d.zip qemu-7747abf114874537e898c60ff863828a4e82201d.tar.gz qemu-7747abf114874537e898c60ff863828a4e82201d.tar.bz2 |
hw/machine: Remove the Zero check of nb_numa_nodes for numa_complete_configuration()
Commit 7a3099fc9c5c("numa: postpone options post-processing till machine_run_board_init()")
broke the commit 7b8be49d36fc("NUMA: Enable adding NUMA node implicitly").
The machine_run_board_init() doesn't do NUMA setup if nb_numa_nodes=0,
but the numa_complete_configuration need add a new node if memory hotplug
is enabled (slots > 0) even nb_numa_nodes=0.
So, Remove the check for numa_complete_configuration() to fix this.
Fixes 7a3099fc9c5c("numa: postpone options post-processing till machine_run_board_init()")
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Message-Id: <20180704132239.6506-1-douly.fnst@cn.fujitsu.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions