]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: fix memtune to also accept 0 as valid value
authorPavel Hrdina <phrdina@redhat.com>
Mon, 2 Mar 2015 15:26:52 +0000 (16:26 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 6 Mar 2015 10:52:15 +0000 (11:52 +0100)
commitc2020b08ceeef778a2c862e84c4b4e11bc0189ee
tree3ed15ed92999d1e03cbfdd8d3195606e17a95885
parent9954a8bfc2ad9021057aaf1ba8217662ff82d30c
virsh: fix memtune to also accept 0 as valid value

Fix vshMemtuneGetSize to return correct value.  We can then decide
according that return code whether a parameter is present and valid or
not.  This will allow as to accept 0 as a valid value.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
tools/virsh-domain.c