libqtest: add qtest_kill_qemu()
commit7a23c523762371fd26a7a9ecfa8f16b64618a1ad
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 23 Feb 2021 14:46:44 +0000 (23 14:46 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 8 Mar 2021 13:55:19 +0000 (8 14:55 +0100)
tree23ad3d2f2b05a905a0b532b643c90df73946713d
parent9fb7bb06986741b7fd8427fac9f22177ca38dcff
libqtest: add qtest_kill_qemu()

Tests that manage multiple processes may wish to kill QEMU before
destroying the QTestState. Expose a function to do that.

The vhost-user-blk-test testcase will need this.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210223144653.811468-4-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qtest/libqos/libqtest.h
tests/qtest/libqtest.c