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

2010-11-08 Thread Matthias Bolte
2010/11/8 Eric Blake : > 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 |  

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

2010-11-08 Thread Eric Blake
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

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

2010-11-07 Thread Matthias Bolte
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(-) diff --g