Re: [libvirt] use virReportOOMError, not VIR_ERR_NO_MEMORY

2009-01-27 Thread Daniel P. Berrange
On Tue, Jan 27, 2009 at 04:57:58PM +0100, Jim Meyering wrote: > I've changed over 200 uses of with the > VIR_ERR_NO_MEMORY flag to call virReportOOMError with whatever > "conn"-like argument (if any) was in the original call. > > I don't claim to have tested these changes (OOM is a pain to simula

[libvirt] use virReportOOMError, not VIR_ERR_NO_MEMORY

2009-01-27 Thread Jim Meyering
I've changed over 200 uses of with the VIR_ERR_NO_MEMORY flag to call virReportOOMError with whatever "conn"-like argument (if any) was in the original call. I don't claim to have tested these changes (OOM is a pain to simulate, and besides, testing so many failure points would take more infrastr