qemu-e2k/scripts
Markus Armbruster 89bf68f933 qapi: Generate simpler marshalling code when no arguments
When command FOO has no arguments, its generated qmp_marshal_FOO() is
a bit confusing.  Make it simpler:

     visit_start_struct(v, NULL, NULL, 0, &err);
     if (err) {
         goto out;
     }
-
-    if (!err) {
-        visit_check_struct(v, &err);
-    }
+    visit_check_struct(v, &err);
     visit_end_struct(v, NULL);
     if (err) {
         goto out;
     }

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200424084338.26803-16-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2020-04-30 07:26:41 +02:00
..
coccinelle scripts/coccinelle: add error-use-after-free.cocci 2020-04-04 14:14:09 +02:00
coverity-scan scripts/coverity-scan: Add Docker support 2020-04-14 13:15:40 +01:00
kvm drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
modules drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
qapi qapi: Generate simpler marshalling code when no arguments 2020-04-30 07:26:41 +02:00
qemu-guest-agent
qemugdb
qmp drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
simplebench scripts/simplebench: add example usage of simplebench 2020-03-17 21:09:26 -04:00
tracetool scripts/tracetool: Remove shebang header 2020-02-07 15:12:48 +01:00
travis
analyse-9p-simpletrace.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
analyse-locks-simpletrace.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
analyze-inclusions
analyze-migration.py
archive-source.sh
checkpatch.pl checkpatch: enforce process for expected files 2020-03-29 06:33:47 -04:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config
decodetree.py decodetree: Use Python3 floor division operator 2020-03-30 11:44:04 -07:00
device-crash-test drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
disas-objdump.pl
dump-guest-memory.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
extract-vsssdk-headers
feature_to_c.sh
fix-multiline-comments.sh
gensyscalls.sh scripts: add a script to generate syscall_nr.h 2020-03-20 16:02:00 +01:00
get_maintainer.pl softmmu: move vl.c to softmmu/ 2020-02-22 08:26:47 +00:00
git-submodule.sh git: Make submodule check only needed modules 2020-02-13 11:31:58 +01:00
git.orderfile maint: Include top-level *.rst files early in git diff 2020-03-09 15:59:31 +01:00
hxtool hxtool: Remove Texinfo generation support 2020-03-12 11:14:05 +00:00
hxtool-conv.pl scripts/hxtool-conv: Archive script used in qemu-options.hx conversion 2020-03-06 10:05:24 +00:00
kernel-doc kernel-doc: Use c:struct for Sphinx 3.0 and later 2020-04-14 17:15:33 +01:00
make-release
minikconf.py * various small fixes and cleanups 2020-02-13 13:40:59 +00:00
qapi-gen.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
qemu-binfmt-conf.sh
qemu-gdb.py
qemu-trace-stap
refresh-pxe-roms.sh
render_block_graph.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
replay-dump.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
shaderinclude.pl
show-fixed-bugs.sh
signrom.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
simpletrace.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
switch-timer-api
tap-driver.pl
tap-merge.pl
texi2pod.pl texi2pod: parse @include directives outside "@c man" blocks 2020-03-06 10:04:57 +00:00
tracetool.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
update-linux-headers.sh
update-mips-syscall-args.sh linux-user,mips: update syscall-args-o32.c.inc 2020-03-20 16:02:00 +01:00
update-syscalltbl.sh linux-user, scripts: add a script to update syscall.tbl 2020-03-20 16:02:00 +01:00
vmstate-static-checker.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00