Re: [PATCH 4/4] Misc error handling fixes in text mode monitor commands

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

 



On 11/01/2010 11:48 AM, Daniel P. Berrange wrote:
> A couple of places in the text monitor were overwriting the
> 'ret' variable with a >= 0 value before success was actually
> determined. So later error paths would not correctly return
> the -1 value. The drive_add code was not checking for errors
> like missing command
> 
> * src/qemu/qemu_monitor_text.c: Misc error handling fixes
> ---
>  src/qemu/qemu_monitor_text.c |   28 +++++++++++++++++++---------
>  1 files changed, 19 insertions(+), 9 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]