vhost-user: delete net client if necessary
As qemu_new_net_client create new ncs but error happens later, ncs will be left in global net_clients list and we can't use them any more, so we need to cleanup them. Cc: qemu-stable@nongnu.org Signed-off-by: Nlinzhecheng <linzhecheng@huawei.com> Signed-off-by: NJason Wang <jasowang@redhat.com> (cherry picked from commit c67daf4a) Conflicts: net/vhost-user.c * drop functional dep on 4d0cf552Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录