From eb97813ff5fd5bdffc8ed9f5be5a3a50eae70a2c Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Tue, 22 Jan 2019 17:53:23 +0200 Subject: virtio-scsi: Forbid devices with different iothreads sharing a blockdev This patch forbids attaching a disk to a SCSI device if its using a different AioContext. Test case included. Signed-off-by: Alberto Garcia Signed-off-by: Kevin Wolf --- tests/qemu-iotests/240 | 22 ++++++++++++++++++++++ tests/qemu-iotests/240.out | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+) (limited to 'tests') diff --git a/tests/qemu-iotests/240 b/tests/qemu-iotests/240 index 5d499c9..65cc3b3 100755 --- a/tests/qemu-iotests/240 +++ b/tests/qemu-iotests/240 @@ -101,6 +101,28 @@ run_qemu <