On 04/25/2013 06:36 AM, Luiz Capitulino wrote:

>>> One other concern - you document that if a flag parameter is omitted,
>>> then it defaults to 1.  Is that really true?
>>
>>
>> I'm wrong. If it's omitted in cmdline, we will give it a default value.
>>

>> This kind of default info is only added in help descriptions right
>> now, we can add a new item 'default_value' to option.h:QemuOptDesc &
>> qapi-schema.json:CommandLineParameterInfo in future?
> 
> Yes. I don't think we'll have enough time to fix this now.

Agreed - we've added additional information in the QMP types returned by
query-* in the past, and it's no problem if we don't expose default
values via QMP until improving the C code to track default values in
1.6.  For 1.5, let's just focus on exposing the information we have
readily available.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to