]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Exit on first error in lxcDomainGetMemoryParameters
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 6 Nov 2010 17:52:00 +0000 (18:52 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 8 Nov 2010 20:26:28 +0000 (21:26 +0100)
commitc3697a0ed51fb6b6b213ed6c26463c49dfd7f005
treeef93f6c172d8eb26370b5e87591c1757d3106ec7
parent9562ca3f920d0d7f0b9be523930ff6fd8e8ea27b
lxc: Exit on first error in lxcDomainGetMemoryParameters

There is no point in trying to fill params beyond the first error,
because when lxcDomainGetMemoryParameters returns -1 then the caller
cannot detect which values in params are valid.
src/lxc/lxc_driver.c