[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH for-2.10 10/10] migration: Use JSON
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH for-2.10 10/10] migration: Use JSON null instead of "" to reset parameter to default |
Date: |
Tue, 18 Jul 2017 14:09:46 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/18/2017 01:39 PM, Markus Armbruster wrote:
>>> +++ b/qapi-schema.json
>>> @@ -116,6 +116,13 @@
>>> { 'command': 'qmp_capabilities' }
>>>
>>> ##
>>> +# @StrOrNull:
>>
>> A little light on the documentation.
>
> Care to suggest improvements? I figure the schema is obvious enough
> without any, but the generated documentation could perhaps use some.
Perhaps:
Specifies a string value or the explicit lack of a string (often used as
an optional parameter type, where omitting the parameter has different
semantics than supplying null).
@s a JSON string
@n an explicit NULL
and certainly worth having
Since: 2.10
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-block] [PATCH for-2.10 07/10] migration: Clean up around tls_creds, tls_hostname, (continued)
Re: [Qemu-block] [PATCH for-2.10 10/10] migration: Use JSON null instead of "" to reset parameter to default, Dr. David Alan Gilbert, 2017/07/18
[Qemu-block] [PATCH for-2.10 03/10] qapi: Introduce a first class 'null' type, Markus Armbruster, 2017/07/18