diff options
author | Markus Armbruster <armbru@redhat.com> | 2025-03-11 07:53:52 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2025-03-11 10:26:52 +0100 |
commit | 93db9c84fc40b82d6bc3a944cb8eb8443980824c (patch) | |
tree | b2e3ee9adc8430fc0e17ac9b6fd94dda2337a564 /hw/misc/stm32f4xx_exti.c | |
parent | e95ffabbde1e1ea76ffc48bd04a0138b12b08a6e (diff) | |
download | qemu-93db9c84fc40b82d6bc3a944cb8eb8443980824c.zip qemu-93db9c84fc40b82d6bc3a944cb8eb8443980824c.tar.gz qemu-93db9c84fc40b82d6bc3a944cb8eb8443980824c.tar.bz2 |
scripts/qapi/backend: Clean up create_backend()'s failure mode
create_backend()'s caller catches QAPIError, and returns non-zero exit
code on catch. The caller's caller passes the exit code to
sys.exit().
create_backend() doesn't care: it reports errors to stderr and
sys.exit()s.
Change it to raise QAPIError instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250311065352.992307-1-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/misc/stm32f4xx_exti.c')
0 files changed, 0 insertions, 0 deletions