summary refs log tree commit diff stats
path: root/util/qemu-coroutine-sleep.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2023-01-11 08:45:47 -0500
committerStefan Berger <stefanb@linux.ibm.com>2023-01-16 17:19:52 -0500
commit255b00b4def7bac1fd313adca931426f4eb10b05 (patch)
tree37a4d754be163e67ae4da82b703ad1221881a188 /util/qemu-coroutine-sleep.c
parent82df11e78d0baef7ffb7e7933c6fb830ffed087c (diff)
downloadfocaccia-qemu-255b00b4def7bac1fd313adca931426f4eb10b05.tar.gz
focaccia-qemu-255b00b4def7bac1fd313adca931426f4eb10b05.zip
tests/qtest/tpm-emu: Avoid hangs using abort handlers closing channels
Install abort handlers that close the TPM control and data channels in
case an abort occurs. The purpose of this is to have QEMU terminate
under abnormal test case failures to resolve intermittent hangs on s390x
hosts running TPM tests for QEMU/x86_64.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20230111134547.3959604-1-stefanb@linux.ibm.com
Diffstat (limited to 'util/qemu-coroutine-sleep.c')
0 files changed, 0 insertions, 0 deletions