vhost: support host notifier
authorTiwei Bie <tiwei.bie@intel.com>
Fri, 8 Jun 2018 03:22:23 +0000 (11:22 +0800)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 15 Jun 2018 07:49:39 +0000 (09:49 +0200)
commitd90cf7d111ac9e823bccc1137dd76558587e9dc0
treeccebc34567b4b679d395a463269dca12ac6836d9
parent76b1e4cec7dc15b733966f9f494d7d49e4f016f2
vhost: support host notifier

When a vDPA device is attached, vhost user will try to
register host notifiers to QEMU to allow notifications
to be delivered between the driver in the guest and the
vDPA device in the host directly.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/rte_vhost.h
lib/librte_vhost/vhost.c
lib/librte_vhost/vhost.h
lib/librte_vhost/vhost_user.c
lib/librte_vhost/vhost_user.h