Received: from eggs.gnu.org ([208.118.235.92]:56232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP99t-0007u9-W0 for qemu-devel@nongnu.org; Mon, 08 Apr 2013 06:18:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP99s-0004MA-J8 for qemu-devel@nongnu.org; Mon, 08 Apr 2013 06:18:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP99s-0004M6-Bd for qemu-devel@nongnu.org; Mon, 08 Apr 2013 06:18:40 -0400 Date: Mon, 8 Apr 2013 12:18:35 +0200 From: Kevin Wolf Message-ID: <20130408101835.GG2657@dhcp-200-207.str.redhat.com> References: <1364903250-10429-1-git-send-email-xiawenc@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1364903250-10429-1-git-send-email-xiawenc@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH V11 00/17] qmp/hmp interfaces for internal snapshot info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: armbru@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, stefanha@gmail.com, pbonzini@redhat.com Am 02.04.2013 um 13:47 hat Wenchao Xia geschrieben: > v11: > General change: > 5/17: check if snapshot > 0 on success in caller, add comments on the > function says that caller need to check it on success. > 7/17: check if snapshot > 0 on success before set info->has_snapshots. > > Address Eric's comments: > 5/17: use error_setg_errno instead of strerror(). > 12/17: also move bdrv_snapshot_dump() since it need to be changed using > GString later. > 13/17: using GString as buffer. > 14/17: using GString to dump snapshot info. > 16/17: using GString to dump image info. > > Address Kevin's comments: > 11/17: return void for bdrv_query_info(). > 17/17: spell fix in help message, using parameter "-v" to show > verbose info. In patch 11 I commented on what I think is an error handling bug. The rest of the series is: Reviewed-by: Kevin Wolf