Received: from eggs.gnu.org ([2001:4830:134:3::10]:50898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFeEB-0005gP-Pu for qemu-devel@nongnu.org; Tue, 18 Feb 2014 01:32:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFeE4-0002FB-Rr for qemu-devel@nongnu.org; Tue, 18 Feb 2014 01:32:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFeE4-0002F7-Jm for qemu-devel@nongnu.org; Tue, 18 Feb 2014 01:32:16 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s1I6WGmk006611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 18 Feb 2014 01:32:16 -0500 Date: Tue, 18 Feb 2014 14:32:24 +0800 From: Fam Zheng Message-ID: <20140218063224.GB21656@T430.redhat.com> References: <1392644647-9897-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1392644647-9897-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 00/20] Improve bdrv_open error messages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, jcody@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Mon, 02/17 14:43, Paolo Bonzini wrote: > Most of the block drivers are not using the Error** argument to bdrv_open, > and instead just printing errors to stderr. This series improves that, > and as a consequence it also avoids abuse of errno numbers. > > The only hurdle (caught by qemu-iotests, too) is VMDK, where we currently > parse a file first as image, and second as a descriptor. This makes > it hard to pick a good error message, because you do not know which > attempt gave the most reasonable error message. For this reason patches > 15-17 modify this approach and push up the detection of vmdk image file > magic numbers. > > Apart from this, and from a segfault fixed by patch 7, the series consists > of mostly trivial patches. > > Paolo > > v2->v3: > Rebase for new qemu-nbd test (Jeff, 01-02/20) > Fix memory leak (Stefan, 06/20) > Use local_err for bdrv_file_open (Kevin, 09-11-12/20) > Did an incremental review from v1 where I already left reviewed-by's for most patches, and this revision looks good to me. The only minor comment is on v19 about error message text (I replied in v2 series), but it needn't stop merging. Thanks, the series: Reviewed-by: Fam Zheng