iotests: add 238 for throttling tgm unregister iothread segfault
commit202277f43d544779b7a63123a51c54c3a16b74ad
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 14 Jan 2019 13:32:57 +0000 (14 13:32 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 24 Jan 2019 10:02:28 +0000 (24 10:02 +0000)
tree7216b2832e490f2734ea4008dc70b035a0c46683
parentbc19a0a6e4505390f99d3c593ebaf11b7962cc59
iotests: add 238 for throttling tgm unregister iothread segfault

Hot-unplug a scsi-hd using an iothread.  The previous patch fixes a
segfault in this scenario.

This patch adds a regression test.

Suggested-by: Alberto Garcia <berto@igalia.com>
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20190114133257.30299-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/238 [new file with mode: 0755]
tests/qemu-iotests/238.out [new file with mode: 0644]
tests/qemu-iotests/group