summaryrefslogtreecommitdiffstats
path: root/hw/intc/riscv_aplic.c
diff options
context:
space:
mode:
authorBin Meng2022-10-06 17:19:19 +0200
committerThomas Huth2022-10-12 08:45:05 +0200
commit969d1f6e13fd34350b4b3fa72184e050ba77cd1c (patch)
tree712943945def9538c3fa6e6b66862dd6bc534bbc /hw/intc/riscv_aplic.c
parenttests/qtest: migration-test: Avoid using hardcoded /tmp (diff)
downloadqemu-969d1f6e13fd34350b4b3fa72184e050ba77cd1c.tar.gz
qemu-969d1f6e13fd34350b4b3fa72184e050ba77cd1c.tar.xz
qemu-969d1f6e13fd34350b4b3fa72184e050ba77cd1c.zip
tests/qtest: libqtest: Install signal handler via signal()
At present the codes uses sigaction() to install signal handler with a flag SA_RESETHAND. Such usage can be covered by the signal() API that is a simplified interface to the general sigaction() facility. Update to use signal() to install the signal handler, as it is available on Windows which we are going to support. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20221006151927.2079583-11-bmeng.cn@gmail.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/intc/riscv_aplic.c')
0 files changed, 0 insertions, 0 deletions