[libvirt] [PATCH] build: also track RPC on-wire enum values

Eric Blake eblake at redhat.com
Fri Jul 15 23:48:21 UTC 2011


On 07/15/2011 01:41 AM, Daniel Veillard wrote:
> On Thu, Jul 14, 2011 at 10:20:28AM -0600, Eric Blake wrote:
>> As long as we guarantee RPC struct layout stability, we might as
>> well also guarantee RPC enum value constancy.
>>
>> * src/Makefile.am (r1, r2, PDWTAGS): Adjust rule to pick up named
>> and anonymous enums.
>> * src/remote_protocol-structs: Add enum values.
>> * src/qemu_protocol-structs: Likewise.
>> * src/virnetprotocol-structs: Likewise.
>> ---
>>   src/Makefile.am             |   12 ++-
>>   src/qemu_protocol-structs   |    4 +
>>   src/remote_protocol-structs |  245 +++++++++++++++++++++++++++++++++++++++++++
>>   src/virnetprotocol-structs  |   11 ++
>>   4 files changed, 267 insertions(+), 5 deletions(-)
>>
>
>    ACK, good idea !

Now pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list