qemu-e2k/tests
Markus Armbruster 8934643a0e target: Improve error reporting for CpuModelInfo member @props
query-cpu-model-comparison, query-cpu-model-baseline, and
query-cpu-model-expansion take CpuModelInfo arguments.  Errors in
@props members of these arguments are reported for 'props', without
further context.  For instance, s390x rejects

    {"execute": "query-cpu-model-comparison", "arguments": {"modela": {"name": "z13", "props": {}}, "modelb": {"name": "z14", "props": []}}}

with

    {"error": {"class": "GenericError", "desc": "Invalid parameter type for 'props', expected: object"}}

This is unusual; the common QAPI unmarshaling machinery would complain
about 'modelb.props'.  Our hand-written code to visit the @props
member neglects to provide the context.

Tweak it so it provides it.  The command above now fails with

    {"error": {"class": "GenericError", "desc": "Invalid parameter type for 'modelb.props', expected: dict"}}

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240305145919.2186971-4-armbru@redhat.com>
Acked-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
2024-03-12 14:03:00 +01:00
..
avocado tests/avocado/boot_linux_console.py: Add Rpi4b boot tests 2024-02-27 13:01:43 +00:00
bench meson: remove unused variable 2023-12-31 09:11:27 +01:00
data tests/qtest/bios-tables-tests: Update virt golden reference 2024-02-15 11:31:52 +00:00
decode
docker .gitlab-ci.d: Drop cross-win32-system job 2024-02-23 08:13:52 +01:00
fp tests/fp: Bump fp-test-mulAdd test timeout to 3 minutes 2024-01-12 13:23:48 +00:00
guest-debug tests/tcg: Factor out gdbstub test functions 2024-01-29 20:48:49 +10:00
image-fuzzer
include
keys
lcitool .gitlab-ci.d: Drop cross-win32-system job 2024-02-23 08:13:52 +01:00
migration tests/qtest: option to suspend during migration 2024-01-04 09:52:42 +08:00
multiboot
perf/block/qcow2
plugin tests/plugin/bb: migrate to new per_vcpu API 2024-03-06 12:35:36 +00:00
qapi-schema qapi: Reject "Returns" section when command doesn't return anything 2024-03-04 07:12:40 +01:00
qemu-iotests iotests: Make 144 deterministic again 2024-02-15 16:40:06 +00:00
qtest target: Improve error reporting for CpuModelInfo member @props 2024-03-12 14:03:00 +01:00
rocker
tcg target-arm queue: 2024-03-08 18:19:09 +00:00
tsan block: remove AioContext locking 2023-12-21 22:49:27 +01:00
uefi-test-tools
unit tests/unit/test-smp-parse: Test "parameter=0" SMP configurations 2024-03-09 19:17:01 +01:00
vm tests/vm: update openbsd image to 7.4 2024-02-28 09:09:16 +00:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include tests: respect --enable/--disable-download for Avocado 2023-11-24 12:07:47 +01:00
meson.build configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
test-qht-par.c
vhost-user-bridge.c