mbox series

[v2,0/4] block/export: add BlockExportOptions->iothread member

Message ID 20200929125516.186715-1-stefanha@redhat.com
Headers show
Series block/export: add BlockExportOptions->iothread member | expand

Message

Stefan Hajnoczi Sept. 29, 2020, 12:55 p.m. UTC
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: 20200924151549.913737-1-stefanha@redhat.com ("[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

-- 
2.26.2

Comments

Stefan Hajnoczi Oct. 9, 2020, 10:17 a.m. UTC | #1
On Tue, Sep 29, 2020 at 01:55:12PM +0100, Stefan Hajnoczi wrote:
> 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: 20200924151549.913737-1-stefanha@redhat.com ("[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

> 

> -- 

> 2.26.2

> 


Thanks, applied to my block tree with Eric's suggestions applied:
https://github.com/stefanha/qemu/commits/block

Stefan