qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] PoC: Rust binding for QAPI (qemu-ga only, for now)


From: Paolo Bonzini
Subject: Re: [PATCH] PoC: Rust binding for QAPI (qemu-ga only, for now)
Date: Mon, 21 Sep 2020 11:30:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 21/09/20 11:16, Markus Armbruster wrote:
> QMP is an *external* interface.
> 
> It supports compatible evolution: we can make certain kinds of changes
> without affecting clients.  These include:
> 
> * Adding optional arguments
> 
> * Adding results
> 
> * Adding values to an enumeration type, branches to a union or
>   alternate
> 
> * Reordering members of enumerations, structs, unions
> 
> * Turning an argument type into an alternate with the old type as branch
> 
> We've made use of this extensively.  See also
> docs/devel/qapi-code-gen.txt section "Compatibility considerations."
> 
> How do such changes affect clients of the proposed D-Bus interface?

All this makes me think that Q{MP,OM,API} badly needs rationale
documentation.

Paolo




reply via email to

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