aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorMads Ynddal <m.ynddal@samsung.com>2023-09-26 12:34:29 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2023-09-26 12:28:51 -0400
commit1990fb98934d8e114ac73b0ca649bf4820ca896a (patch)
treeb48818a9120ed798211d43037a0b3556837dfdda /scripts/qapi/source.py
parentsimpletrace: improved error handling on struct unpack (diff)
downloadqemu-1990fb98934d8e114ac73b0ca649bf4820ca896a.tar.xz
qemu-1990fb98934d8e114ac73b0ca649bf4820ca896a.zip
simpletrace: define exception and add handling
Define `SimpleException` to differentiate our exceptions from generic exceptions (IOError, etc.). Adapted simpletrace to support this and output to stderr. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Mads Ynddal <m.ynddal@samsung.com> Message-id: 20230926103436.25700-8-mads@ynddal.dk Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions