qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v15 12/23] qapi: Document visitor interfaces, ad


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v15 12/23] qapi: Document visitor interfaces, add assertions
Date: Thu, 28 Apr 2016 13:02:59 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 04/28/2016 10:34 AM, Markus Armbruster wrote:
>> +/*
>> + * Visit a number (i.e. double) value.
>> + *
>> + * @name expresses the relationship of this number to its parent
>> + * container; see the general description of @name above.
>> + *
>> + * @obj must be non-NULL.  Input visitors set address@hidden to the value;
>> + * other visitors will leave address@hidden unchanged.  Visitors should
>> + * document if infinity or NaN are not permitted.
> 
> Do we have such visitors?

Not at the moment, although qmp-output-visitor produces invalid JSON as
a result.  I've got a pending series that adds a json-output-visitor,
and that one explicitly produces an error on infinity or NaN.

https://lists.gnu.org/archive/html/qemu-devel/2015-12/msg03937.html

-- 
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

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