qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] QMP: Add 'reason' member to the BLOCK_IO_ER


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/2] QMP: Add 'reason' member to the BLOCK_IO_ERROR event
Date: Mon, 03 May 2010 08:14:20 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 04/29/2010 12:30 PM, Luiz Capitulino wrote:
On Wed, 28 Apr 2010 18:24:29 -0500
Anthony Liguori<address@hidden>  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<address@hidden>

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.

I think that's a bit of a crutch. What's the point of QError if it's just encapsulating errno's?

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]