diff options
author | Alberto Garcia <berto@igalia.com> | 2019-01-22 17:53:21 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-02-01 13:46:45 +0100 |
commit | a6f230c8d13a7ff3a0c7f1097412f44bfd9eff0b (patch) | |
tree | 29635dac7b8d16c49a65ef982bef8a5a4c9506c2 /tests/qemu-iotests/240.out | |
parent | 14632122b82150d42cefac04a219bbead59bc4a7 (diff) |
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>
Diffstat (limited to 'tests/qemu-iotests/240.out')
-rw-r--r-- | tests/qemu-iotests/240.out | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/qemu-iotests/240.out b/tests/qemu-iotests/240.out new file mode 100644 index 0000000000..432d98111c --- /dev/null +++ b/tests/qemu-iotests/240.out @@ -0,0 +1,18 @@ +QA output created by 240 + +=== Unplug a SCSI disk and then plug it again === + +Testing: +QMP_VERSION +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +*** done |