« Previous | Next » 

Revision b15d422a

IDb15d422a23a3e4cf1b4195af209211eccdb88d51

Added by Stefan Hajnoczi about 10 years ago

qtest: kill QEMU process on g_assert() failure

The QEMU process stays running if the test case fails. This patch fixes
the leak by installing a SIGABRT signal handler which invokes
qtest_end().

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Markus Armbruster <>
Reviewed-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences