projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463b52f
)
vhost-user: set link down when the char device is closed
author
Wen Congyang
<wency@cn.fujitsu.com>
Wed, 11 Nov 2015 06:53:29 +0000
(14:53 +0800)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 25 Nov 2015 11:42:38 +0000
(13:42 +0200)
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
net/vhost-user.c
patch
|
blob
|
history
diff --git
a/net/vhost-user.c
b/net/vhost-user.c
index 0ebd7df528229545238772f743a0d4ef718c5d71..5071602e9b8b9e33ed2866c5ee7ca8d358d016ed 100644
(file)
--- 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,
tru
e, &err);
+ qmp_set_link(name,
fals
e, &err);
vhost_user_stop(queues, ncs);
break;
}