]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
nodeinfo: report error when failure in nodeSetMemoryParameters
authorJincheng Miao <jmiao@redhat.com>
Fri, 7 Nov 2014 10:27:00 +0000 (11:27 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 10 Nov 2014 14:06:57 +0000 (15:06 +0100)
commita5c7ea4536e59f98683149f4db5b0c0ae938c9ad
treec1027b59f1b953ac01dbf73f316820028ede4d0b
parente3c44f0d36ad8e2c1b14a2d57eaa19028a7c69af
nodeinfo: report error when failure in nodeSetMemoryParameters

nodeSetMemoryParameters() will call nodeSetMemoryParameterValue()
to set parameters. But it just filter the return code '-2' as
failure. Indeed we should report error when rc is negative.

https://bugzilla.redhat.com/show_bug.cgi?id=1161541

Signed-off-by: Jincheng Miao <jmiao@redhat.com>
src/nodeinfo.c