From 45e92a9011bff4f6660dae1e011083c5790d121b Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Fri, 24 May 2019 10:41:34 +0200 Subject: nbd-server: Call blk_set_allow_aio_context_change() The NBD server uses an AioContext notifier, so it can tolerate that its BlockBackend is switched to a different AioContext. Before we start actually calling bdrv_try_set_aio_context(), which checks for consistency, outside of test cases, we need to make sure that the NBD server actually allows this. Signed-off-by: Kevin Wolf Reviewed-by: Eric Blake --- tests/qemu-iotests/240.out | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/qemu-iotests/240.out') diff --git a/tests/qemu-iotests/240.out b/tests/qemu-iotests/240.out index d76392966c..84e0a43ce5 100644 --- a/tests/qemu-iotests/240.out +++ b/tests/qemu-iotests/240.out @@ -51,4 +51,17 @@ QMP_VERSION {"return": {}} {"return": {}} {"return": {}} + +=== Attach a SCSI disks using the same block device as a NBD server === + +Testing: +QMP_VERSION +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} +{"return": {}} *** done -- cgit v1.2.3