> -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:11 AM > To: [email protected] > Cc: [email protected]; Xie, Huawei; [email protected]; 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: [email protected] > Cc: [email protected] > > Signed-off-by: Dariusz Stojaczyk <[email protected]> > Signed-off-by: Tomasz Kulasek <[email protected]>
Reviewed-by: Jianfeng Tan <[email protected]> Thanks for fixing this.

