]> Git Repo - qemu.git/commit - hw/scsi/scsi-disk.c
scsi-disk: Acquire the AioContext in scsi_*_realize()
authorAlberto Garcia <[email protected]>
Tue, 22 Jan 2019 15:53:22 +0000 (17:53 +0200)
committerKevin Wolf <[email protected]>
Fri, 1 Feb 2019 12:46:45 +0000 (13:46 +0100)
commit3ff35ba391134e4e43ab96152deb38a62e62f858
treeceba43aca7e2477bb803b8252f10be9263e348d0
parenta6f230c8d13a7ff3a0c7f1097412f44bfd9eff0b
scsi-disk: Acquire the AioContext in scsi_*_realize()

This fixes a crash when attaching two disks with the same blockdev to
a SCSI device that is using iothreads. Test case included.

Signed-off-by: Alberto Garcia <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
hw/scsi/scsi-disk.c
tests/qemu-iotests/240
tests/qemu-iotests/240.out
This page took 0.028436 seconds and 4 git commands to generate.