> -Original Message-
> From: Bie, Tiwei
> Sent: Thursday, April 5, 2018 4:29 PM
> To: Yang, Zhiyong
> Cc: dev@dpdk.org; maxime.coque...@redhat.com; tho...@monjalon.net;
> Tan, Jianfeng ; Wang, Zhihong
> ; Wang, Dong1
> Subject: Re: [PATCH v5] net/virtio-user: add support for server mode
Ping Maxime, Jianfeng
Do you have any comments about the patch?
Thanks
Zhiyong
> -Original Message-
> From: Yang, Zhiyong
> Sent: Thursday, April 5, 2018 1:18 AM
> To: dev@dpdk.org
> Cc: maxime.coque...@redhat.com; tho...@monjalon.net; Tan, Jianfeng
> ; Wang, Zhihong ; Bie,
> Tiwei ; Wan
Tiwei,
Thanks a lot for your review and comments.
Reply inline.
> -Original Message-
> From: Bie, Tiwei
> Sent: Thursday, April 5, 2018 4:29 PM
> To: Yang, Zhiyong
> Cc: dev@dpdk.org; maxime.coque...@redhat.com; tho...@monjalon.net;
> Tan, Jianfeng ; Wang, Zhihong
> ; Wang, Dong1
> Su
On Thu, Apr 05, 2018 at 01:17:53AM +0800, zhiyong.y...@intel.com wrote:
[...]
> +static int
> +virtio_user_start_server(struct virtio_user_dev *dev, struct sockaddr_un *un)
> +{
> + int ret;
> + int flag;
> + int fd = dev->listenfd;
> +
> + ret = bind(fd, (struct sockaddr *)un, size
In a container environment if the vhost-user backend restarts, there's
no way for it to reconnect to virtio-user. To address this, support for
server mode is added. In this mode the socket file is created by virtio-
user, which the backend then connects to. This means that if the backend
restarts,
5 matches
Mail list logo