Received: from eggs.gnu.org ([2001:4830:134:3::10]:49453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3nk1-0007Bm-7L for qemu-devel@nongnu.org; Mon, 29 Jul 2013 09:44:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3njw-0005vP-62 for qemu-devel@nongnu.org; Mon, 29 Jul 2013 09:44:01 -0400 Date: Mon, 29 Jul 2013 15:43:49 +0200 From: Kevin Wolf Message-ID: <20130729134349.GI10467@dhcp-200-207.str.redhat.com> References: <1374762197-7261-1-git-send-email-pbonzini@redhat.com> <1374762197-7261-8-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1374762197-7261-8-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 07/19] block: expect errors from bdrv_co_is_allocated List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: pl@kamp.de, qemu-devel@nongnu.org, stefanha@redhat.com, qemu-stable@nongnu.org Am 25.07.2013 um 16:23 hat Paolo Bonzini geschrieben: > Some bdrv_is_allocated callers do not expect errors, but the fallback > in qcow2.c might make other callers trip on assertion failures or > infinite loops. > > Fix the callers to always look for errors. > > Cc: qemu-stable@nongnu.org > Reviewed-by: Eric Blake > Signed-off-by: Paolo Bonzini Good idea, but there seem to be a few more callers that don't handle errors yet. Not sure what your criterion for fixing callers or not was. Did you simply miss the rest? Kevin