Re: [libvirt] [PATCH v2 2/4] util: make allocation functions abort on OOM

2019-09-12 Thread Michal Privoznik
On 9/12/19 1:31 PM, Daniel P. Berrangé wrote: The functions are left returning an "int" to avoid an immediate big-bang cleanup. They'll simply never return anything other than 0, except for virInsertN which can still return an error if the requested insertion index is out of range. Interestingly

[libvirt] [PATCH v2 2/4] util: make allocation functions abort on OOM

2019-09-12 Thread Daniel P . Berrangé
The functions are left returning an "int" to avoid an immediate big-bang cleanup. They'll simply never return anything other than 0, except for virInsertN which can still return an error if the requested insertion index is out of range. Interestingly in that case, the _QUIET function would none the