[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/5] Support host notifiers in vhost-user
From: |
Tiwei Bie |
Subject: |
[Qemu-devel] [PATCH v2 0/5] Support host notifiers in vhost-user |
Date: |
Fri, 25 May 2018 19:04:36 +0800 |
More details about this patch set can be found from:
http://lists.gnu.org/archive/html/qemu-devel/2018-04/msg01779.html
http://lists.gnu.org/archive/html/qemu-devel/2018-04/msg04626.html
v1 -> v2:
- Drop the VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD patch; (MST)
- In PATCH 2/5, for net/vhost-user, only save VhostUserState
in queue index 0, i.e. where `chr` is saved;
- In PATCH 4/5, check VHOST_USER_PROTOCOL_F_HOST_NOTIFIER
before sending msg (including fd) to master; (MST)
Tiwei Bie (5):
vhost: allow backends to filter memory sections
vhost-user: introduce shared vhost-user state
vhost-user: support registering external host notifiers
libvhost-user: support host notifier
vhost-user-bridge: support host notifier
backends/cryptodev-vhost-user.c | 20 +++-
contrib/libvhost-user/libvhost-user.c | 80 +++++++++++--
contrib/libvhost-user/libvhost-user.h | 31 +++++
docs/interop/vhost-user.txt | 33 ++++++
hw/block/vhost-user-blk.c | 22 +++-
hw/scsi/vhost-user-scsi.c | 20 +++-
hw/virtio/Makefile.objs | 2 +-
hw/virtio/vhost-stub.c | 10 ++
hw/virtio/vhost-user.c | 165 ++++++++++++++++++++++++--
hw/virtio/vhost.c | 9 +-
include/hw/virtio/vhost-backend.h | 4 +
include/hw/virtio/vhost-user-blk.h | 2 +
include/hw/virtio/vhost-user-scsi.h | 2 +
include/hw/virtio/vhost-user.h | 28 +++++
net/vhost-user.c | 57 ++++++---
tests/vhost-user-bridge.c | 98 ++++++++++++++-
16 files changed, 542 insertions(+), 41 deletions(-)
create mode 100644 include/hw/virtio/vhost-user.h
--
2.17.0
- [Qemu-devel] [PATCH v2 0/5] Support host notifiers in vhost-user,
Tiwei Bie <=
- [Qemu-devel] [PATCH v2 4/5] libvhost-user: support host notifier, Tiwei Bie, 2018/05/25
- [Qemu-devel] [PATCH v2 5/5] vhost-user-bridge: support host notifier, Tiwei Bie, 2018/05/25
- [Qemu-devel] [PATCH v2 3/5] vhost-user: support registering external host notifiers, Tiwei Bie, 2018/05/25
- [Qemu-devel] [PATCH v2 2/5] vhost-user: introduce shared vhost-user state, Tiwei Bie, 2018/05/25
- [Qemu-devel] [PATCH v2 1/5] vhost: allow backends to filter memory sections, Tiwei Bie, 2018/05/25