Eric Blake c363acef77 tests: Convert to new qapi union layout
We have two issues with our qapi union layout:
1) Even though the QMP wire format spells the tag 'type', the
C code spells it 'kind', requiring some hacks in the generator.
2) The C struct uses an anonymous union, which places all tag
values in the same namespace as all non-variant members. This
leads to spurious collisions if a tag value matches a non-variant
member's name.

Make the conversion to the new layout for testsuite code.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1445898903-12082-15-git-send-email-eblake@redhat.com>
[Commit message tweaked slightly]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-11-02 08:30:27 +01:00
..
2015-09-11 10:45:43 +03:00
2015-11-02 08:30:26 +01:00
2015-06-22 17:40:00 +02:00
2015-10-09 15:25:57 +02:00
2015-10-16 11:14:53 +01:00
2015-10-23 18:18:23 +02:00
2015-10-19 15:26:53 +02:00
2015-10-09 15:25:57 +02:00
2015-10-26 10:19:53 +01:00
2015-10-24 18:03:18 +02:00
2015-10-24 18:03:18 +02:00
2015-11-02 08:30:26 +01:00
2015-06-05 19:45:09 +02:00
2015-09-25 14:53:29 +02:00
2015-11-02 08:30:26 +01:00