Revert "spapr: Don't allow memory hotplug to memory less nodes"
commite47f1d2786c3d01a7894a493aafe0efa6b64453c
authorSerhii Popovych <spopovyc@redhat.com>
Wed, 11 Apr 2018 18:42:00 +0000 (11 14:42 -0400)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Apr 2018 08:05:22 +0000 (27 18:05 +1000)
treed9bb632301c4eae3ee8b690d045bc455a062484f
parent1d36c75a9ebf6bddbdb46693052a48ef134f3699
Revert "spapr: Don't allow memory hotplug to memory less nodes"

This reverts commit b556854bd8524c26b8be98ab1bfdf0826831e793.

Leave change @node type from uint32_t to to int from reverted commit
because node < 0 is always false.

Note that implementing capability or some trick to detect if guest
kernel does not support hot-add to memory: this returns previous
behavour where memory added to first non-empty node.

Signed-off-by: Serhii Popovych <spopovyc@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c