Kevin Wolf 4f71fb436a scsi-disk: Use qdev_prop_drive_iothread
This makes use of qdev_prop_drive_iothread for scsi-disk so that the
disk can be attached to a node that is already in the target AioContext.
We need to check that the HBA actually supports iothreads, otherwise
scsi-disk must make sure that the node is already in the main
AioContext.

This changes the error message for conflicting iothread settings.
Previously, virtio-scsi produced the error message, now it comes from
blk_set_aio_context(). Update a test case accordingly.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2019-06-04 15:22:22 +02:00
..
2016-10-04 13:28:07 +01:00
2019-05-13 08:58:55 +02:00
2017-01-27 18:07:59 +01:00
2019-05-07 09:56:10 +02:00
2019-06-03 14:03:03 +02:00
2019-02-22 09:42:13 +00:00
2016-05-18 15:04:27 +03:00
2018-12-11 15:45:22 -02:00
2018-12-11 15:45:22 -02:00
2013-04-08 18:13:10 +02:00
2018-02-09 05:05:11 +01:00
2019-05-17 08:16:02 +02:00
2019-03-12 13:37:29 +00:00
2019-06-03 14:03:03 +02:00
2017-01-27 18:07:59 +01:00
2019-02-05 16:50:16 +01:00
2018-12-11 15:45:22 -02:00
2017-06-01 18:49:22 +02:00
2018-12-11 15:45:22 -02:00
2013-04-08 18:13:10 +02:00
2018-12-11 15:45:22 -02:00