block/export: add iothread and fixed-iothread options
commitf51d23c80af73c95e0ce703ad06a300f1b3d63ef
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 29 Sep 2020 12:55:16 +0000 (29 13:55 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 23 Oct 2020 12:42:16 +0000 (23 13:42 +0100)
treeac9a127ade1fd1b5ca75ffb52ef825cff5a69ba6
parentcbc20bfb8fc293333abbef6aacf052f5f8d72f98
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 <stefanha@redhat.com>
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 <stefanha@redhat.com>
block/export/export.c
block/export/vhost-user-blk-server.c
nbd/server.c
qapi/block-export.json