From f51d23c80af73c95e0ce703ad06a300f1b3d63ef Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Tue, 29 Sep 2020 13:55:16 +0100 Subject: block/export: add iothread and fixed-iothread options Make it possible to specify the iothread where the export will run. By default the block node can be moved to other AioContexts later and the export will follow. The fixed-iothread option forces strict behavior that prevents changing AioContext while the export is active. See the QAPI docs for details. Signed-off-by: Stefan Hajnoczi Message-id: 20200929125516.186715-5-stefanha@redhat.com [Fix stray '#' character in block-export.json and add missing "(since: 5.2)" as suggested by Eric Blake. --Stefan] Signed-off-by: Stefan Hajnoczi --- nbd/server.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'nbd') diff --git a/nbd/server.c b/nbd/server.c index e75c825..08b621f 100644 --- a/nbd/server.c +++ b/nbd/server.c @@ -1517,8 +1517,6 @@ static int nbd_export_create(BlockExport *blk_exp, BlockExportOptions *exp_args, return ret; } - blk_set_allow_aio_context_change(blk, true); - QTAILQ_INIT(&exp->clients); exp->name = g_strdup(arg->name); exp->description = g_strdup(arg->description); -- cgit v1.1