Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: fix redundant vring status change notification
[ upstream commit c94c9f3 ] When VHOST_USER_F_PROTOCOL_FEATURES is not negotiated, there is no need for vhost_user_set_vring_kick() to notify the application of vring enabled, as vhost_user_msg_handler() also notifies the application. This patch is to remove unnecessary vring_state_changed() call. Fixes: d0fcc38 ("vhost: improve device readiness notifications") Signed-off-by: Jiayu Hu <jiayu.hu@intel.com> Tested-by: Yinan Wang <yinan.wang@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
- Loading branch information