root@lab:/usr/share/perl5/PVE# qm set 101 --memory 4096
update VM 101: -memory 4096
$VAR1 = '{"arguments":{},"execute":"qmp_capabilities","id":"91725:1"}';
$VAR1 = '{"arguments":{"qom-type":"memory-backend-ram","id":"mem-dimm2","props":{"size":536870912}},"execute":"object-add","id":"91725:2"}';
$VAR1 = {
'cmds' => [],
'current' => {
'arguments' => {
'qom-type' => 'memory-backend-ram',
'id' => 'mem-dimm2',
'props' => {
'size' => 536870912
}
},
'callback' => sub { "DUMMY" },
'execute' => 'object-add',
'id' => '91725:2'
},
'qga' => 0,
'sname' => '/var/run/qemu-server/101.qmp',
'vmid' => '101',
'error' => 'Parameter \'size\' is missing'
};
$VAR1 = 'VM 101 qmp command \'object-add\' failed - Parameter \'size\' is missing';