qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 07/10] Introduce QError


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 07/10] Introduce QError
Date: Thu, 19 Nov 2009 13:59:40 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

On 11/19/2009 09:42 AM, Markus Armbruster wrote:
>
>    It's probably convenient to have qjson emitting QError, I'm unsure
>  if we should do that for all kinds of QObjects though.

For a general purpose system, I'd recommend to cover all types.  But as
long as this has just one user (QEMU), it can use the special purpose
excuse not to.

You're not sending QErrors on the wire yet, are you? Once you do, I suspect it will be easiest to handle to_json for QError too (or make it a virtual method as it was in my patches...).

Paolo





reply via email to

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