[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 00/10]: QError v4

From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 00/10]: QError v4
Date: Fri, 20 Nov 2009 18:29:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Anthony Liguori <address@hidden> writes:

> Jamie Lokier wrote:
>> Anthony Liguori wrote:
>>> Markus Armbruster wrote:
>>>> 3. It falls short of the requirement that clients can easily present a
>>>>   human-readable error description to their human users, regardless of
>>>>   whether they know the error or not.
>>> That's just incorrect.  We provide an example conversion table
>>> that's akin to strerror() or a __repr__ for an exception in Python.
>> Markus refers to errors that the client does not know - i.e. when the
>> client is older than qemu, or is not in the same development branch if
>> it's a branched qemu.  Which means the client won't have a fully up to
>> date conversion table.
>> Do you mean qemu provides it's current conversion table to the client
>> over the wire protocol?
> (qemu) format_error "{'class': 'DeviceNotFound', 'data' : {'addr':
> 00:11:22'} }"
> Device 0:11:22 is not present
> Is what I'm thinking.  I don't think it's needed but it solves the
> "problem".

Any particular reason not put it into the error object and be done with

reply via email to

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