]> git.proxmox.com Git - mirror_qemu.git/commit
pc-dimm: Don't check dimm->node when there is non-NUMA config
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Fri, 26 Sep 2014 09:16:12 +0000 (17:16 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Sep 2014 16:44:04 +0000 (19:44 +0300)
commitfc50ff0666315be5120c70ad00cd0b0097484b84
tree31b3a364eab0b1551884275d8320c51299b5be54
parent22b80e85ff7d6150beefe06bb43d9b14ac4deb05
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: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/mem/pc-dimm.c