]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Exit on first error in qemuDomainGetMemoryParameters
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 20 Oct 2010 12:28:45 +0000 (14:28 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 20 Oct 2010 17:33:11 +0000 (19:33 +0200)
commita1109a7c7cd57d8b3ef4b5a34573fb8ef1b5bb59
tree4a60e7bc192c264fa3cdf5f17e5c437993b8c138
parent076cf3a0bd5881aa444d995013efb388b21c1523
qemu: Exit on first error in qemuDomainGetMemoryParameters

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