[libvirt] [PATCH v2] qemu: Don't overwrite errors by closefd in error paths

Eric Blake eblake at redhat.com
Thu Jul 14 13:02:57 UTC 2011


On 07/14/2011 06:50 AM, Jiri Denemark wrote:
> When qemuMonitorCloseFileHandle is called in error path, we need to
> preserve the original error since a possible further error when running
> closefd monitor command is not very useful to users.
> ---
>  src/qemu/qemu_monitor.c |   14 ++++++++++++--
>  src/qemu/qemu_monitor.h |    3 +++
>  2 files changed, 15 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110714/495841d1/attachment-0001.sig>


More information about the libvir-list mailing list