From: Pavel Fedin
Subject: Re: [RFC 0/5] virtio support for container
Date: Thu, 31 Dec 2015 13:38:07 +0300
Message-ID: <002c01d143b7$568aace0$03a006a0$@samsung.com>
References: <002a01d142e6$fbfeb4e0$f3fc1ea0$@samsung.com>
<002401d143af$38a6fa60$a9f4ef20$@samsung.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "'Tan, Jianfeng'" , dev@dpdk.org
Return-path:
Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com
[210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 251335A84
for ; Thu, 31 Dec 2015 11:38:10 +0100 (CET)
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout1.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014))
with ESMTP id <0O070029XXJKNF40@mailout1.w1.samsung.com> for dev@dpdk.org;
Thu, 31 Dec 2015 10:38:08 +0000 (GMT)
In-reply-to:
Content-language: ru
List-Id: patches and discussions about DPDK
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
Sender: "dev"
Hello!
> Before you start another ovs_in_container, previous ones get killed?
Of course. It crashes.
> If so, vhost information in ovs_on_host will be wiped as the unix socket is broken.
Yes. And ovs_on_host crashes because:
a) ovs_in_container does not send VHOST_USER_SET_MEM_TABLE (i don't know why yet)
b) set_vring_addr() does not make sure that dev->mem is set.
I am preparing a patch to fix (b).
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia