[libvirt] [PATCH] lxc: Exit on first error in lxcDomainGetMemoryParameters
Eric Blake
eblake at redhat.com
Mon Nov 8 19:21:24 UTC 2010
On 11/07/2010 05:39 AM, Matthias Bolte wrote:
> 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 | 21 ++++++++-------------
> 1 files changed, 8 insertions(+), 13 deletions(-)
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101108/818c0d64/attachment-0001.sig>
More information about the libvir-list
mailing list