+4
−23
Loading
Don't unset svdev->poll_group when the last session is stopped, just keep the old reference in there. When a session is started, a new poll group will be picked and svdev->poll_group will get overwritten anyway. This is just a cleanup that aligns the code for making vhost_session_send_event() asynchronous. Change-Id: Ibf145603fd7525a65c4304b0bb1828dcbe2b52cf Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467227 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>