Ah, just noticed there is a bug related to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1150930
Mikhail
On 17.10.2014 17:38, Mikhail Sennikovskii wrote:
Hi all,
Trying to hotplug RAM with qemu 2.1.2 using
object_add memory-backend-ram,id=ram1,size=128M
device_add pc-dimm,id=dimm1,memdev=ram1
gives the following error:
{{{
'DIMM property node has value 0' which exceeds the number of numa
nodes: 0
Device 'pc-dimm' could not be initialized
}}}
which goes away if I add a "dummy" numa node via command line at VM
creation -numa node,nodeid=0
This behavior was introduced by the commit
9a72433843d912a45046959b1953861211d1838d, and disabling the check
makes the hotplug work again for me.
Is this a regression, or just some memory hotplug semantic change? And
in the latter case, could you specify the proper semantic I should use?
Thanks,
Mikhail