Skip to content
Commit 45c46f20 authored by zhanghailiang's avatar zhanghailiang Committed by Michael Roth
Browse files

pc-dimm: Don't check dimm->node when there is non-NUMA config



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: default avatarIgor Mammedov <imammedo@redhat.com>
Signed-off-by: default avatarzhanghailiang <zhang.zhanghailiang@huawei.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
(cherry picked from commit fc50ff06)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent c4379ce8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment