[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/4] libvhost-user: VHOST_USER_PROTOCOL_F_MQ supp
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH v2 0/4] libvhost-user: VHOST_USER_PROTOCOL_F_MQ support |
Date: |
Wed, 26 Jun 2019 08:48:11 +0100 |
v2:
* Add missing dev->max_queues = max_queues assignment in vu_init() [dgilbert]
* Folded in Marc-André's Reviewed-By
Sebastien Boeuf <address@hidden> pointed out that libvhost-user
doesn't advertise VHOST_USER_PROTOCOL_F_MQ. Today this prevents vhost-user-net
multiqueue from working.
In virtio-fs we also want to support multiqueue so I'm sending patches to add
this. It's free to advertise VHOST_USER_PROTOCOL_F_MQ for all devices so we
can do it unconditionally in libvhost-user.
Several related improvements are included:
Patch 1 - clean up duplicated and risky VhostUserMsg reply building code
Patch 2 - remove hardcoded 8 virtqueue limit in libvhost-user
Patch 4 - clarify vhost-user multiqueue specification
Stefan Hajnoczi (4):
libvhost-user: add vmsg_set_reply_u64() helper
libvhost-user: support many virtqueues
libvhost-user: implement VHOST_USER_PROTOCOL_F_MQ
docs: avoid vhost-user-net specifics in multiqueue section
contrib/libvhost-user/libvhost-user-glib.h | 2 +-
contrib/libvhost-user/libvhost-user.h | 10 +++-
contrib/libvhost-user/libvhost-user-glib.c | 12 +++-
contrib/libvhost-user/libvhost-user.c | 66 ++++++++++++++--------
contrib/vhost-user-blk/vhost-user-blk.c | 16 +++---
contrib/vhost-user-gpu/main.c | 9 ++-
contrib/vhost-user-input/main.c | 11 +++-
contrib/vhost-user-scsi/vhost-user-scsi.c | 21 +++----
tests/vhost-user-bridge.c | 42 +++++++++-----
docs/interop/vhost-user.rst | 21 +++----
10 files changed, 133 insertions(+), 77 deletions(-)
--
2.21.0
- [Qemu-devel] [PATCH v2 0/4] libvhost-user: VHOST_USER_PROTOCOL_F_MQ support,
Stefan Hajnoczi <=