diff options
-rw-r--r-- | net/vhost-user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/vhost-user.c b/net/vhost-user.c index 0ebd7df528..5071602e9b 100644 --- a/net/vhost-user.c +++ b/net/vhost-user.c @@ -188,7 +188,7 @@ static void net_vhost_user_event(void *opaque, int event) qmp_set_link(name, true, &err); break; case CHR_EVENT_CLOSED: - qmp_set_link(name, true, &err); + qmp_set_link(name, false, &err); vhost_user_stop(queues, ncs); break; } |