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

Jiri Denemark jdenemar at redhat.com
Thu Jul 14 14:13:49 UTC 2011


On Thu, Jul 14, 2011 at 07:02:57 -0600, Eric Blake wrote:
> 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.

Pushed, thanks.

Jirka




More information about the libvir-list mailing list