> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:11 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Xie, Huawei; sta...@dpdk.org; Stojaczyk, DariuszX > Subject: [dpdk-dev] [PATCH] vhost: fix close callfd on get vring base > > This prevents from destroying & recreating user device in "incomplete" > vring state. virtio_is_ready() was returning true for devices with > vrings which did not have valid callfd (their VHOST_USER_SET_VRING_CALL > hasn't arrived yet) > > Fixes: 8f972312b8f4 ("vhost: support vhost-user") > Cc: huawei....@intel.com > Cc: sta...@dpdk.org > > Signed-off-by: Dariusz Stojaczyk <dariuszx.stojac...@intel.com> > Signed-off-by: Tomasz Kulasek <tomaszx.kula...@intel.com>
Reviewed-by: Jianfeng Tan <jianfeng....@intel.com> Thanks for fixing this.