It should not break memory hotplug feature if there is non-NUMA option.
This patch would also allow to use pc-dimm as replacement for initial memory
for non-NUMA configs.
Note: After this patch, the memory hotplug can work normally for Linux guest OS
when there is non-NUMA option and NUMA option. But not support Windows guest OS
to hotplug memory with no-NUMA config, actully, it's Windows limitation.
Reviewed-By: Igor Mammedov <firstname.lastname@example.org>
Signed-off-by: zhanghailiang <email@example.com>
Acked-by: Michael S. Tsirkin <firstname.lastname@example.org>
Signed-off-by: Michael S. Tsirkin <email@example.com>