diff options
author | Li Feng <fengli@smartx.com> | 2023-11-23 13:54:11 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-12-02 15:56:49 -0500 |
commit | 298d4f892e745cfb8a33b5ed2feaaab271f6e50c (patch) | |
tree | 751f4bff111a6cc8223ddd64f9d2e87dbe74baac /.gitmodules | |
parent | 2d37fe9e5e61b04bddbed00dbb7436e61a01c115 (diff) | |
download | qemu-298d4f892e745cfb8a33b5ed2feaaab271f6e50c.zip qemu-298d4f892e745cfb8a33b5ed2feaaab271f6e50c.tar.gz qemu-298d4f892e745cfb8a33b5ed2feaaab271f6e50c.tar.bz2 |
vhost-user: fix the reconnect error
If the error occurs in vhost_dev_init, the value of s->connected is set to true
in advance, and there is no chance to enter this function execution again
in the future.
Signed-off-by: Li Feng <fengli@smartx.com>
Message-Id: <20231123055431.217792-2-fengli@smartx.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions