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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 error reporting from remoteCreateClientStream callers.
> ---
>  daemon/remote.c |    8 ++------
>  daemon/stream.c |    7 ++++++-
>  src/libvirt.c   |    2 ++
>  3 files changed, 10 insertions(+), 7 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]