|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH 10/19] monitor: Convert do_info_name() to QObject |
Date: | Thu, 10 Dec 2009 17:57:20 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091203 Fedora/3.0-3.13.rc2.fc12 Thunderbird/3.0 |
On 12/10/2009 05:55 PM, Avi Kivity wrote:
On 12/10/2009 02:56 PM, Anthony Liguori wrote:I'd prefer an empty dict. I actually prefer that over null.Depends. Key not present suggests the feature is not implemented. Value is null suggests the feature is not used. Both key and value present suggest the feature is in implemented and active.
And, as with hex numbers, we need to prefer usability to machine clients to readability to user beings. This is a machine protocol, so unless you're a machine, aesthetic considerations take second place.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |