diff options
author | 2023-09-26 12:34:29 +0200 | |
---|---|---|
committer | 2023-09-26 12:28:51 -0400 | |
commit | 1990fb98934d8e114ac73b0ca649bf4820ca896a (patch) | |
tree | b48818a9120ed798211d43037a0b3556837dfdda /scripts/qapi/expr.py | |
parent | simpletrace: improved error handling on struct unpack (diff) | |
download | qemu-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/expr.py')
0 files changed, 0 insertions, 0 deletions