qemu/tests
Markus Armbruster e2050ef633 qapi: Fix to reject 'data': 'mumble' in struct
A struct's 'data' must be a JSON object defining the struct's members.
The QAPI code generator incorrectly accepts a JSON string instead, and
then crashes in QAPISchema._make_members() called from
._def_struct_type().

Fix to reject it: factor check_type_implicit() out of
check_type_name_or_implicit(), and switch check_struct() to use it
instead.  Also add a test case.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230316071325.492471-9-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[More detailed commit message]
2023-04-24 15:21:39 +02:00
..
avocado Merge tpm 2023/04/20 v1 2023-04-21 20:02:51 +01:00
bench util: import GTree as QTree 2023-03-28 15:23:10 -07:00
data bios-tables-test: use 128M numa nodes on aarch64 2023-03-20 09:59:25 +01:00
decode
docker tests: lcitool: Switch to OpenSUSE Leap 15.4 2023-04-20 11:17:36 +02:00
fp tests: make fp-test less chatty when running from test suite 2023-03-01 10:31:28 +00:00
guest-debug tests/guest-debug: better handle gdb crashes 2022-04-20 16:04:20 +01:00
image-fuzzer
include
keys
lcitool tests: lcitool: Switch to OpenSUSE Leap 15.4 2023-04-20 11:17:36 +02:00
migration hw/misc/sga: Remove the deprecated "sga" device 2023-02-14 09:02:42 +01:00
multiboot
perf/block/qcow2
plugin tests/plugins: add instruction matching to libinsn.so 2022-02-09 12:08:42 +00:00
qapi-schema qapi: Fix to reject 'data': 'mumble' in struct 2023-04-24 15:21:39 +02:00
qemu-iotests iotests: Regression test for vhdx log corruption 2023-04-11 13:54:43 +02:00
qtest * Optional use of Meson wrap for slirp 2023-04-22 06:10:51 +01:00
rocker
tcg Hexagon (tests/tcg/hexagon) Move HVX test infra to header file 2023-04-21 09:32:52 -07:00
tsan
uefi-test-tools
unit test: Fix test-crypto-secret when compiling without keyring support 2023-04-20 06:50:11 +02:00
vm tests/vm/freebsd: Update to FreeBSD 13.2 2023-04-20 11:28:16 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include configure: move tests/tcg/Makefile.prereqs to root build directory 2022-10-06 11:53:40 +01:00
meson.build meson: create have_vhost_* variables 2022-05-07 07:46:58 +02:00
requirements.txt tests: install "qemu" namespace package into venv 2022-06-06 09:26:54 +02:00
test-qht-par.c
vhost-user-bridge.c error handling: Use RETRY_ON_EINTR() macro where applicable 2023-01-09 13:50:47 +01:00