Markus Armbruster 315932b5ed qapi: Fix to reject union command and event arguments
A command's or event's 'data' must be a struct type, given either as a
dictionary, or as struct type name.

Commit dd883c6 tightened the checking there, but not enough: we still
accept 'union'.  Fix to reject it.

We may want to support union types there, but we'll have to extend
qapi-commands.py and qapi-events.py for it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2015-09-04 15:47:15 +02:00
..
2015-07-07 14:54:55 +02:00
2015-04-30 16:05:48 +03:00
2014-06-10 07:44:01 +02:00
2011-07-08 11:25:56 +02:00
2015-02-16 17:30:19 +01:00
2013-04-03 11:39:43 +02:00
2013-03-22 13:25:07 +01:00