libvhost-user: support host notifier
commitd84599f56c820d8c1ac9928a76500dcdfbbf194d
authorTiwei Bie <tiwei.bie@intel.com>
Thu, 24 May 2018 10:33:35 +0000 (24 18:33 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 24 May 2018 18:14:11 +0000 (24 21:14 +0300)
treefd6418a6b28384f25493e7f31807d7286ed3f2ee
parent44866521bd6ea8e5152a87664dea1eee90c9438b
libvhost-user: support host notifier

This patch introduces the host notifier support in
libvhost-user. A new API is added to support setting
host notifier for each queue.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c
contrib/libvhost-user/libvhost-user.h