Re: [libvirt] [PATCH 3/5] Fix error reporting in stream creation code

2011-05-17 Thread Matthias Bolte
2011/5/16 Eric Blake ebl...@redhat.com: On 05/15/2011 12:23 AM, Matthias Bolte wrote: virStreamNew needs to dispatch the error that virGetStream reports on failure. remoteCreateClientStream can fail due to virStreamNew or due to VIR_ALLOC. Report OOM error for VIR_ALLOC failure to report

Re: [libvirt] [PATCH 3/5] Fix error reporting in stream creation code

2011-05-16 Thread Eric Blake
On 05/15/2011 12:23 AM, Matthias Bolte wrote: virStreamNew needs to dispatch the error that virGetStream reports on failure. remoteCreateClientStream can fail due to virStreamNew or due to VIR_ALLOC. Report OOM error for VIR_ALLOC failure to report errors in all error cases. Remove OOM

[libvirt] [PATCH 3/5] Fix error reporting in stream creation code

2011-05-15 Thread Matthias Bolte
virStreamNew needs to dispatch the error that virGetStream reports on failure. remoteCreateClientStream can fail due to virStreamNew or due to VIR_ALLOC. Report OOM error for VIR_ALLOC failure to report errors in all error cases. Remove OOM error reporting from remoteCreateClientStream callers.