mbox series

[0/2] block/export: add vhost-user-blk multi-queue support

Message ID 20201001144604.559733-1-stefanha@redhat.com
Headers show
Series block/export: add vhost-user-blk multi-queue support | expand

Message

Stefan Hajnoczi Oct. 1, 2020, 2:46 p.m. UTC
The vhost-user-blk server currently only supports 1 virtqueue. Add a
'num-queues' option for multi-queue. Both --device
vhost-user-blk-pci,num-queues= and --export vhost-user-blk,num-queues= need to
be set in order for multi-queue to work (otherwise it will fall back to 1
virtqueue).

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 (2):
  block/export: add vhost-user-blk multi-queue support
  tests/qtest: add multi-queue test case to vhost-user-blk-test

 qapi/block-export.json               |  6 ++-
 block/export/vhost-user-blk-server.c | 24 ++++++---
 tests/qtest/vhost-user-blk-test.c    | 81 ++++++++++++++++++++++++++--
 3 files changed, 99 insertions(+), 12 deletions(-)

-- 
2.26.2

Comments

Stefan Hajnoczi Oct. 9, 2020, 10:16 a.m. UTC | #1
On Thu, Oct 01, 2020 at 03:46:02PM +0100, Stefan Hajnoczi wrote:
> The vhost-user-blk server currently only supports 1 virtqueue. Add a

> 'num-queues' option for multi-queue. Both --device

> vhost-user-blk-pci,num-queues= and --export vhost-user-blk,num-queues= need to

> be set in order for multi-queue to work (otherwise it will fall back to 1

> virtqueue).

> 

> 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 (2):

>   block/export: add vhost-user-blk multi-queue support

>   tests/qtest: add multi-queue test case to vhost-user-blk-test

> 

>  qapi/block-export.json               |  6 ++-

>  block/export/vhost-user-blk-server.c | 24 ++++++---

>  tests/qtest/vhost-user-blk-test.c    | 81 ++++++++++++++++++++++++++--

>  3 files changed, 99 insertions(+), 12 deletions(-)

> 

> -- 

> 2.26.2

> 


Thanks, applied to my block tree with tab damage fixed:
https://github.com/stefanha/qemu/commits/block

Stefan