qapi: Use 'alternate' to replace anonymous union

Previous patches have led up to the point where I create the
new meta-type "'alternate':'Foo'".  See the previous patches
for documentation; I intentionally split as much work into
earlier patches to minimize the size of this patch, but a lot
of it is churn due to testsuite fallout after updating to the
new type.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Eric Blake authored and Markus Armbruster committed 2015-05-05 18:39:00 +02:00
1 parent 7b1b98c420
commit ab916faddd
24 files changed
+77 -77

No files matched your search

+1 -1
View File
@@ -1 +1 @@
tests/qapi-schema/alternate-base.json:4: Anonymous union 'MyUnion' must not have a base
tests/qapi-schema/alternate-base.json:4: Alternate 'Alt' must not have a base