qemu/authz
Markus Armbruster 8e26ae7bb5 authz-list-file: Improve an error message
When qauthz_list_file_load() rejects JSON values other than JSON
object with a rather confusing error message:

    $ echo 1 | qemu-system-x86_64 -nodefaults -S -display none  -object authz-list-file,id=authz0,filename=/dev/stdin
    qemu-system-x86_64: -object authz-list-file,id=authz0,filename=/dev/stdin: Invalid parameter type for 'obj', expected: dict

Improve to

    qemu-system-x86_64: -object authz-list-file,id=authz0,filename=/dev/stdin: File '/dev/stdin' must contain a JSON object

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-11-18 10:51:35 +00:00
..
base.c authz: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
list.c authz: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
listfile.c authz-list-file: Improve an error message 2020-11-18 10:51:35 +00:00
meson.build authz: Move the creation of the library to the main meson.build 2020-10-12 11:50:20 -04:00
pamacct.c authz: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
simple.c authz: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
trace-events trace-events: Fix attribution of trace points to source 2019-03-22 16:18:07 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00