On Mon, Jan 14, 2019 at 01:32:55PM +0000, Stefan Hajnoczi wrote:
> v2:
> * Added qemu-iotests test case [Kevin, Alberto]
> * Use atomic operations instead of AioContext lock [Paolo]
>
> This patch series fixes a segfault upon device_del when virtio-scsi is used
> with iothreads.
>
> Stefan Hajnoczi (2):
> throttle-groups: fix restart coroutine iothread race
> iotests: add 238 for throttling tgm unregister iothread segfault
>
> include/block/throttle-groups.h | 5 ++++
> block/throttle-groups.c | 9 +++++++
> tests/qemu-iotests/238 | 47 +++++++++++++++++++++++++++++++++
> tests/qemu-iotests/238.out | 6 +++++
> tests/qemu-iotests/group | 1 +
> 5 files changed, 68 insertions(+)
> create mode 100755 tests/qemu-iotests/238
> create mode 100644 tests/qemu-iotests/238.out
>
> --
> 2.20.1
>
>
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan