qapi: Permit 'boxed' with empty type
authorMarkus Armbruster <armbru@redhat.com>
Fri, 13 Sep 2019 20:13:41 +0000 (22:13 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 24 Sep 2019 12:07:22 +0000 (14:07 +0200)
commit675b214bc6ba2c1d8ac499e339a8cb99c7f23c7c
treee8dd67e031288e45927b128d21d687143b7aac6d
parent9b4416bfc1ea5fb3398e8f78a90caa88dd301c37
qapi: Permit 'boxed' with empty type

We reject empty types with 'boxed': true.  We don't really need that
to work, but making it work is actually simpler than rejecting it, so
do that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-9-armbru@redhat.com>
scripts/qapi/commands.py
scripts/qapi/common.py
scripts/qapi/events.py
tests/Makefile.include
tests/qapi-schema/args-boxed-empty.err [deleted file]
tests/qapi-schema/args-boxed-empty.exit [deleted file]
tests/qapi-schema/args-boxed-empty.json [deleted file]
tests/qapi-schema/args-boxed-empty.out [deleted file]
tests/qapi-schema/qapi-schema-test.json
tests/qapi-schema/qapi-schema-test.out
tests/test-qmp-cmds.c