[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 07/22] qemu-error: Introduce get_errno_string()
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 07/22] qemu-error: Introduce get_errno_string() |
Date: |
Mon, 10 May 2010 19:50:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Anthony Liguori <address@hidden> writes:
> On 04/21/2010 03:28 AM, Daniel P. Berrange wrote:
>> On Tue, Apr 20, 2010 at 06:09:37PM -0300, Luiz Capitulino wrote:
[...]
>> Wouldn't it be nicer to return strerror_r() output instead of errno
>> names ?
>>
>
> Both are equally wrong :-)
>
> QMP should insult users from underlying platform quirks. We should
> translate errnos to appropriate QMP error types.
While I find QMP's gold-plated errors pretty insulting, too, I wouldn't
go so far as to say QMP *should* insult its users.
SCNR