Received: from eggs.gnu.org ([2001:4830:134:3::10]:42930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmK7q-0006Nq-B9 for qemu-devel@nongnu.org; Tue, 11 Jun 2013 04:40:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmK7o-0007SI-7d for qemu-devel@nongnu.org; Tue, 11 Jun 2013 04:40:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmK7o-0007Rz-0y for qemu-devel@nongnu.org; Tue, 11 Jun 2013 04:40:20 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5B8eJPo007610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 Jun 2013 04:40:19 -0400 Date: Tue, 11 Jun 2013 10:40:17 +0200 From: Kevin Wolf Message-ID: <20130611084017.GE2379@dhcp-200-207.str.redhat.com> References: <1370883748-31439-1-git-send-email-lcapitulino@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1370883748-31439-1-git-send-email-lcapitulino@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/9] QMP/HMP: add error reason to open failures List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org, stefanha@redhat.com, armbru@redhat.com Am 10.06.2013 um 19:02 hat Luiz Capitulino geschrieben: > I was surprised to find out that we still have old users of > QERR_OPEN_FILE_FAILED that print errors like: > > (qemu) dump-guest-memory -p /lkmads/foo > Could not open '/lkmads/foo' > (qemu) > > This series converts all those users to a new helper called > error_setg_file_open(), which adds error reason to open failures: > > (qemu) dump-guest-memory -p /sfmdkjf/foo > Could not open '/sfmdkjf/foo': No such file or directory > (qemu) > > v2 > > - bdrv_reopen_prepare(): use generic error message > - s/error/-ret for bdrv_open() errors I suggested an error message change in patch 8, but I think that's minor enough that you don't have to resend the series after changing the text. So you can add: Acked-by: Kevin Wolf