[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] lxc: Exit on first error in lxcDomainGetMemoryParameters



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]