[libvirt] [PATCH] lxc: Exit on first error in lxcDomainGetMemoryParameters
Matthias Bolte
matthias.bolte at googlemail.com
Mon Nov 8 20:47:09 UTC 2010
2010/11/8 Eric Blake <eblake at redhat.com>:
> 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.
>
Thanks, pushed.
Matthias
More information about the libvir-list
mailing list