From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7XZ8-0003lB-Iw for qemu-devel@nongnu.org; Thu, 29 Apr 2010 13:30:22 -0400 Received: from [140.186.70.92] (port=44694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7XZ7-0003kg-1E for qemu-devel@nongnu.org; Thu, 29 Apr 2010 13:30:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7XZ5-00054H-DF for qemu-devel@nongnu.org; Thu, 29 Apr 2010 13:30:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28285) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7XZ5-00053u-6A for qemu-devel@nongnu.org; Thu, 29 Apr 2010 13:30:19 -0400 Date: Thu, 29 Apr 2010 14:30:08 -0300 From: Luiz Capitulino Subject: Re: [Qemu-devel] [PATCH 2/2] QMP: Add 'reason' member to the BLOCK_IO_ERROR event Message-ID: <20100429143008.72941474@redhat.com> In-Reply-To: <4BD8C3AD.4080801@codemonkey.ws> References: <1272486729-14771-1-git-send-email-lcapitulino@redhat.com> <1272486729-14771-3-git-send-email-lcapitulino@redhat.com> <4BD8C3AD.4080801@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, armbru@redhat.com On Wed, 28 Apr 2010 18:24:29 -0500 Anthony Liguori wrote: > On 04/28/2010 03:32 PM, Luiz Capitulino wrote: > > It's a parsable errno string representation, this is needed > > because some management tools want to base their action on > > the error cause. > > > > Signed-off-by: Luiz Capitulino > > > > Does anyone differentiate beyond ENOSPC and EIO? For this specific case, I guess not. But this general solution is also needed in other places like savevm, loadvm and delvm I was working (and sent) an RFC last week, also I think other events and errors might need this in the near future. IOW, I expect this to be a QMP idiom.