Skip to content

block/export: add BlockExportOptions->iothread member

Stefan Hajnoczi qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my block tree with Eric's suggestions applied:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesApplied
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Add fixed-iothread option to set AioContext change policy [Kevin]
* Use os-posix.c signal handling utilities in qemu-nbd.c [Paolo]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4util/vhost-user-server: use static library in meson.buildblock/export/export.c block/export/meson.build contrib/libvhost-user/meson.build +3 more+15 -80 replies
2/4qemu-storage-daemon: avoid compiling blockdev_ss twicemeson.build storage-daemon/meson.build+11 -40 replies
3/4block: move block exports to libblockdevblock/export/meson.build meson.build nbd/meson.build +3 more+23 -164 replies
4/4block/export: add iothread and fixed-iothread optionsblock/export/export.c block/export/vhost-user-blk-server.c nbd/server.c +1 more+45 -42 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniEric Blake
1/4
2/4R-b
3/4R-b R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] block/export: add BlockExportOptions->iothread member

v2:
* Add fixed-iothread option to set AioContext change policy [Kevin]
* Use os-posix.c signal handling utilities in qemu-nbd.c [Paolo]

This series adjusts the build system and then adds a BlockExportOptions->iothread member so that it is possible to set the iothread for an export.

Based-on: [email protected] ("[PATCH v2 00/13] block/export: convert vhost-user-blk-server to block exports API")

Stefan Hajnoczi (4):
util/vhost-user-server: use static library in meson.build
qemu-storage-daemon: avoid compiling blockdev_ss twice
block: move block exports to libblockdev block/export: add iothread and fixed-iothread options

 qapi/block-export.json               | 11 ++++++++
 block/export/export.c                | 39 ++++++++++++++++++++++++----
 block/export/vhost-user-blk-server.c |  5 +++-
 nbd/server.c                         |  2 --
 qemu-nbd.c                           | 21 +++++++--------
 stubs/blk-exp-close-all.c            |  7 +++++
 block/export/meson.build             |  4 +--
 contrib/libvhost-user/meson.build    |  1 +
 meson.build                          | 22 ++++++++++++----
 nbd/meson.build                      |  2 ++
 storage-daemon/meson.build           |  3 +--
 stubs/meson.build                    |  1 +
 tests/qtest/meson.build              |  2 +-
 util/meson.build                     |  4 ++-
 14 files changed, 93 insertions(+), 31 deletions(-)
 create mode 100644 stubs/blk-exp-close-all.c
Signature · 1 line
2.26.2