[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vhost-user: set link down when the char device
From: |
Yuanhan Liu |
Subject: |
Re: [Qemu-devel] [PATCH] vhost-user: set link down when the char device is closed |
Date: |
Wed, 11 Nov 2015 15:07:04 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Thanks.
Reviewed-by: Yuanhan Liu <address@hidden>
--yliu
On Wed, Nov 11, 2015 at 02:53:29PM +0800, Wen Congyang wrote:
> Signed-off-by: Wen Congyang <address@hidden>
> ---
> 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