Received: from eggs.gnu.org ([140.186.70.92]:33022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB9qT-0001U8-FL for qemu-devel@nongnu.org; Tue, 04 Oct 2011 14:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB9qS-0001N0-Ef for qemu-devel@nongnu.org; Tue, 04 Oct 2011 14:36:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB9qS-0001Mv-5H for qemu-devel@nongnu.org; Tue, 04 Oct 2011 14:36:00 -0400 From: Juan Quintela In-Reply-To: <4E8B4B82.4080107@codemonkey.ws> (Anthony Liguori's message of "Tue, 04 Oct 2011 13:08:02 -0500") References: <5529f9bd516a73e64eb7f9761e85cd2240030dfd.1316781876.git.quintela@redhat.com> <4E8B4B82.4080107@codemonkey.ws> Date: Tue, 04 Oct 2011 20:35:56 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 04/11] migration: return real error code Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org Anthony Liguori wrote: > On 09/23/2011 07:50 AM, Juan Quintela wrote: >> make functions propaget errno, instead of just using -EIO. >> >> Signed-off-by: Juan Quintela > > qemu_file_has_error() implies a boolean response. Wouldn't > qemu_file_get_error() make more sense if you're going to rely on the > return value? I just didn't want to change more things on the same patch. I can add a patch on top of this series? Later, Juan.