qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vhost-user: set link down when the char device is closed
@ 2015-11-11  6:53 Wen Congyang
  2015-11-11  7:07 ` Yuanhan Liu
  2015-11-20  5:42 ` Wen Congyang
  0 siblings, 2 replies; 4+ messages in thread
From: Wen Congyang @ 2015-11-11  6:53 UTC (permalink / raw)
  To: qemu-devl, Jason Wang; +Cc: yuanhan.liu, Michael S. Tsirkin

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
---
 net/vhost-user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/vhost-user.c b/net/vhost-user.c
index 0ebd7df..5071602 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;
     }
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-23  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-11  6:53 [Qemu-devel] [PATCH] vhost-user: set link down when the char device is closed Wen Congyang
2015-11-11  7:07 ` Yuanhan Liu
2015-11-20  5:42 ` Wen Congyang
2015-11-23  8:41   ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).