From a6f230c8d13a7ff3a0c7f1097412f44bfd9eff0b Mon Sep 17 00:00:00 2001 From: Alberto Garcia <berto@igalia.com> Date: Tue, 22 Jan 2019 17:53:21 +0200 Subject: virtio-scsi: Move BlockBackend back to the main AioContext on unplug This fixes a crash when attaching a disk to a SCSI device using iothreads, then detaching it and reattaching it again. Test case included. Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> --- tests/qemu-iotests/group | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/qemu-iotests/group') diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group index c87400f497..959ffe85fc 100644 --- a/tests/qemu-iotests/group +++ b/tests/qemu-iotests/group @@ -237,3 +237,4 @@ 237 rw auto quick 238 auto quick 239 rw auto quick +240 auto quick -- cgit v1.2.3