diff options
author | Alberto Garcia <berto@igalia.com> | 2019-01-22 17:53:23 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-02-01 13:46:45 +0100 |
commit | eb97813ff5fd5bdffc8ed9f5be5a3a50eae70a2c (patch) | |
tree | f8d1d98e37df7014da91b12407133962f11e47f7 /tests/qemu-iotests/240.out | |
parent | 3ff35ba391134e4e43ab96152deb38a62e62f858 (diff) |
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 <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 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/qemu-iotests/240.out b/tests/qemu-iotests/240.out index 701cb5c7d2..d76392966c 100644 --- a/tests/qemu-iotests/240.out +++ b/tests/qemu-iotests/240.out @@ -31,4 +31,24 @@ QMP_VERSION {"return": {}} {"return": {}} {"return": {}} + +=== Attach two SCSI disks using the same block device but different iothreads === + +Testing: +QMP_VERSION +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"error": {"class": "GenericError", "desc": "Cannot attach a blockdev that is using a different iothread"}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} *** done |