Re: [libvirt] [PATCH RFC 2/2] util: Don't report OOM twice

2013-03-22 Thread Michal Privoznik
On 22.03.2013 18:32, Stefan Berger wrote: > On 03/22/2013 07:44 AM, Michal Privoznik wrote: >> Adapt code under src/util/ to fact, that VIR_ALLOC* now reports OOM >> error. There is no need to report it twice now. >> --- > > Maybe an sed script could help here at least in removing the > virReport

Re: [libvirt] [PATCH RFC 2/2] util: Don't report OOM twice

2013-03-22 Thread Stefan Berger
On 03/22/2013 07:44 AM, Michal Privoznik wrote: Adapt code under src/util/ to fact, that VIR_ALLOC* now reports OOM error. There is no need to report it twice now. --- src/util/iohelper.c | 4 +--- src/util/virauthconfig.c | 8 ++-- src/util/vircommand.c

[libvirt] [PATCH RFC 2/2] util: Don't report OOM twice

2013-03-22 Thread Michal Privoznik
Adapt code under src/util/ to fact, that VIR_ALLOC* now reports OOM error. There is no need to report it twice now. --- src/util/iohelper.c | 4 +--- src/util/virauthconfig.c | 8 ++-- src/util/vircommand.c| 13 +++-- src/util/virconf.c