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

2011-07-14 Thread Jiri Denemark
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

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

2011-07-14 Thread Eric Blake
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 --

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

2011-07-14 Thread Jiri Denemark
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, 1