]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't overwrite errors by closefd in error paths
authorJiri Denemark <jdenemar@redhat.com>
Wed, 13 Jul 2011 09:16:20 +0000 (11:16 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 14 Jul 2011 14:10:17 +0000 (16:10 +0200)
commitc3fd09f7b773f0d8ab7d29ed6da6e02c3e65a0aa
treeea3795212655f3e4cbb53b13a58d91af977cff75
parent5169e5ea38126bd2686c04d36b396f9e73a32dab
qemu: Don't overwrite errors by closefd in error paths

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
src/qemu/qemu_monitor.h