On Wed, Jun 04, 2025 at 03:28:08PM +0200, Hanna Czenczek wrote:
> Make BlockExportType.iothread an alternate between a single-thread
> variant 'str' and a multi-threading variant '[str]'.
> 
> In contrast to the single-thread setting, the multi-threading setting
> will not change the BDS's context (and so is incompatible with the
> fixed-iothread setting), but instead just pass a list to the export
> driver, with which it can do whatever it wants.
> 
> Currently no export driver supports multi-threading, so they all return
> an error when receiving such a list.
> 
> Suggested-by: Kevin Wolf <kw...@redhat.com>
> Signed-off-by: Hanna Czenczek <hre...@redhat.com>
> ---
>  qapi/block-export.json               | 34 +++++++++++++++++---
>  include/block/export.h               | 12 +++++--
>  block/export/export.c                | 48 +++++++++++++++++++++++++---
>  block/export/fuse.c                  |  7 ++++
>  block/export/vduse-blk.c             |  7 ++++
>  block/export/vhost-user-blk-server.c |  8 +++++
>  nbd/server.c                         |  6 ++++
>  7 files changed, 111 insertions(+), 11 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to