On 07/26/2013 01:51 AM, Amos Kong wrote:

>>> +# Query QMP schema information
>>> +#
>>> +# Returns: list of @SchemaEntry. Returns an error if json string is 
>>> invalid.
>>
>> If you don't take any arguments, then the "returns an error" statement
>> is impossible.
> 
> When we execute the full introspecting, we will parse the json strings
> in the head file (converted from .json file). Return error if the
> json string is invild in head file.

We should fail to compile if the conversion from .json to head file is
not correct.  No working qemu binary should ever encounter an invalid
head file.

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