This series aims at specifying ans implementing the protocol update required to support device IOTLB with user backends.
In this second version, the slave requests channel part is re-used from Marc-André's series submitted last year[0], with main changes from original version being request/feature names renaming and addition of the REPLY_ACK feature support. Regarding IOTLB protocol, one noticeable change is the IOTLB miss request reply made optionnal (i.e. only if slave requests it by setting the VHOST_USER_NEED_REPLY flag in the message header). This change provides more flexibility in the backend implementation of the feature. The protocol is very close to kernel backends, except that a new communication channel is introduced to enable the slave to send requests to the master. [0]: https://lists.gnu.org/archive/html/qemu-devel/2016-04/msg00095.html Marc-André Lureau (2): vhost-user: add vhost_user to hold the chr vhost-user: add slave-req-fd support Maxime Coquelin (2): vhost: propagate errors in vhost_device_iotlb_miss() spec/vhost-user spec: Add IOMMU support docs/specs/vhost-user.txt | 104 ++++++++++++++++++++- hw/virtio/vhost-user.c | 234 +++++++++++++++++++++++++++++++++++++++++++++- hw/virtio/vhost.c | 15 ++- include/hw/virtio/vhost.h | 2 +- 4 files changed, 344 insertions(+), 11 deletions(-) -- 2.9.3