Markus Armbruster b22e86585b qapi: Drop support for boxed alternate arguments
Commands and events can define their argument type inline (default) or
by referring to another type ('boxed': true, since commit c818408e44
"qapi: Implement boxed types for commands/events", v2.7.0).  The
unboxed inline definition is an (anonymous) struct type.  The boxed
type may be a struct, union, or alternate type.

The latter is problematic: docs/interop/qemu-spec.txt requires the
value of the 'data' key to be a json-object, but any non-degenerate
alternate type has at least one branch that isn't.

Fortunately, we haven't made use of alternates in this context outside
tests/.  Drop support for them.

QAPISchemaAlternateType.is_empty() is now unused.  Drop it, too.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-4-armbru@redhat.com>
2019-09-24 14:07:22 +02:00
..
2018-07-13 10:16:04 +01:00
2019-07-10 15:08:06 -04:00
2019-09-17 13:43:22 +02:00
2019-03-06 10:40:21 +01:00
2014-06-10 07:44:01 +02:00
2016-05-26 11:12:05 -06:00
2016-03-11 16:59:12 +02:00
2017-01-16 10:11:43 +01:00
2019-03-06 10:40:21 +01:00
2018-08-21 10:22:03 +02:00
2017-01-24 23:26:52 +03:00
2019-09-16 06:57:24 -04:00
2016-10-13 17:23:53 +02:00