qemu-e2k/scripts
John Snow 7a783ce5b5 qapi/expr.py: Add casts in a few select cases
Casts are instructions to the type checker only, they aren't "safe" and
should probably be avoided in general. In this case, when we perform
type checking on a nested structure, the type of each field does not
"stick".

(See PEP 647 for an example of "type narrowing" that does "stick".
 It is available in Python 3.10, so we can't use it yet.)

We don't need to assert that something is a str if we've already checked
or asserted that it is -- use a cast instead for these cases.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210421182032.3521476-9-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2021-04-30 12:59:54 +02:00
..
ci scripts/ci/gitlab-pipeline-status: give more info when pipeline not found 2021-03-09 06:03:53 +01:00
coccinelle scripts/coccinelle: New script to remove unnecessary timer_del() calls 2021-01-08 15:13:38 +00:00
codeconverter
coverity-scan
kvm
modules
oss-fuzz fuzz: add a script to build reproducers 2021-03-16 14:19:54 -04:00
performance
qapi qapi/expr.py: Add casts in a few select cases 2021-04-30 12:59:54 +02:00
qemu-guest-agent
qemugdb scripts/gdb: implement 'qemu bt' 2021-01-12 12:38:03 +01:00
qmp docs: update to show preferred boolean syntax for -chardev 2021-02-25 14:14:33 +01:00
simplebench simplebench: add bench-backup.py 2021-01-26 14:36:37 +01:00
tracetool scripts/tracetool: Replace the word 'whitelist' 2021-03-09 22:14:26 +01:00
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py
analyze-inclusions
analyze-migration.py
archive-source.sh
block-coroutine-wrapper.py
check_sparse.py
checkpatch.pl checkpatch: don't emit warning on newly created acpi data files 2021-02-23 10:58:42 -05:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
decodetree.py decodetree: Open files with encoding='utf-8' 2021-01-13 08:39:08 -10:00
device-crash-test device-crash-test: Ignore errors about a bus not being available 2021-04-01 14:28:39 +02:00
disas-objdump.pl
dump-guest-memory.py
entitlement.sh hvf: Sign the code after installation 2021-02-25 13:57:34 +01:00
extract-vsssdk-headers
feature_to_c.sh
fix-multiline-comments.sh docs: move CODING_STYLE into the developer documentation 2021-02-24 11:05:21 +00:00
gensyscalls.sh Hexagon (linux-user/hexagon) Linux user emulation 2021-02-18 07:48:22 -08:00
get_maintainer.pl get_maintainer: update repo URL to GitLab 2021-02-09 20:53:56 +00:00
git-submodule.sh configure: replace --enable/disable-git-update with --with-git-submodules 2021-01-29 17:07:53 +00:00
git.orderfile
hxtool
hxtool-conv.pl
kernel-doc scripts/kernel-doc: strip QEMU_ from function definitions 2021-03-24 14:24:40 +00:00
make-release
meson.build
minikconf.py
mtest2make.py meson: Re-enable the possibility to run "make check SPEED=slow" 2021-03-09 06:03:53 +01:00
nsis.py
qapi-gen.py
qemu-binfmt-conf.sh linux-user: manage binfmt-misc preserve-arg[0] flag 2021-03-13 10:45:11 +01:00
qemu-gdb.py scripts/gdb: implement 'qemu bt' 2021-01-12 12:38:03 +01:00
qemu-trace-stap
qemu-version.sh
refresh-pxe-roms.sh
render_block_graph.py
replay-dump.py
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py simpletrace: build() missing 2 required positional arguments 2021-02-01 10:51:00 +00:00
switch-timer-api
tap-driver.pl
tap-merge.pl
test-driver.py
tracetool.py tracetool: add output filename command-line argument 2021-01-04 14:24:58 +00:00
u2f-setup-gen.py
undefsym.py
update-linux-headers.sh pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
update-mips-syscall-args.sh
update-syscalltbl.sh
userfaultfd-wrlat.py migration: introduce 'userfaultfd-wrlat.py' script 2021-02-08 11:19:51 +00:00
vmstate-static-checker.py