* [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
* Re: [Qemu-devel] [PATCH] vhost-user: set link down when the char device is closed
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
1 sibling, 0 replies; 4+ messages in thread
From: Yuanhan Liu @ 2015-11-11 7:07 UTC (permalink / raw)
To: Wen Congyang; +Cc: Jason Wang, qemu-devl, Michael S. Tsirkin
Thanks.
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
--yliu
On Wed, Nov 11, 2015 at 02:53:29PM +0800, Wen Congyang wrote:
> 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 [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] vhost-user: set link down when the char device is closed
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
1 sibling, 1 reply; 4+ messages in thread
From: Wen Congyang @ 2015-11-20 5:42 UTC (permalink / raw)
To: qemu-devl, Jason Wang; +Cc: yuanhan.liu, Michael S. Tsirkin
To Jason Wang:
I think this patch should be for qemu-2.5
Thanks
Wen Congyang
On 11/11/2015 02:53 PM, Wen Congyang wrote:
> 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;
> }
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] vhost-user: set link down when the char device is closed
2015-11-20 5:42 ` Wen Congyang
@ 2015-11-23 8:41 ` Jason Wang
0 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2015-11-23 8:41 UTC (permalink / raw)
To: Wen Congyang, qemu-devl, Michael S. Tsirkin; +Cc: yuanhan.liu
On 11/20/2015 01:42 PM, Wen wrote:
> To Jason Wang:
>
> I think this patch should be for qemu-2.5
>
> Thanks
> Wen Congyang
Hi:
I thought it was for vhost tree.
Michael:
Do you want to take this patch?
>
> On 11/11/2015 02:53 PM, Wen Congyang wrote:
>> 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;
>> }
>>
>
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.