From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Wen Congyang <wency@cn.fujitsu.com>
Cc: Jason Wang <jasowang@redhat.com>,
qemu-devl <qemu-devel@nongnu.org>,
"Michael S. Tsirkin" <mst@redhat.com>
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 [thread overview]
Message-ID: <20151111070704.GW2326@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <5642E5E9.1050809@cn.fujitsu.com>
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
next prev parent reply other threads:[~2015-11-11 7:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-11-20 5:42 ` Wen Congyang
2015-11-23 8:41 ` Jason Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151111070704.GW2326@yliu-dev.sh.intel.com \
--to=yuanhan.liu@linux.intel.com \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wency@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.