From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C85B3A0567 for ; Wed, 3 Mar 2021 23:19:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B859940684; Wed, 3 Mar 2021 23:19:45 +0100 (CET) Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by mails.dpdk.org (Postfix) with ESMTP id 85C0E4067B for ; Wed, 3 Mar 2021 23:19:44 +0100 (CET) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 123M3HSk118235 for ; Wed, 3 Mar 2021 17:19:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=to : from : subject : message-id : date : mime-version : content-type : content-transfer-encoding; s=pp1; bh=2LDZ5N/c3RDkWTQ7tx3jj8b5bIPXBbv5acqzrg2u5O0=; b=LYkOukEAKJSOsr01PpRpV7yHsrqRrl5WWv8sbE7b2tJX3bb5sSSGmLAdgCZhRvdqSec/ c7MOwssWhEt/aac8t/P8mHfWgS09YhTUwv9FH46uqzum3hssQCVrJB2Lu9LLVDb6+FAN MdxkjOUrqj6kBGTTffP48G4b1N0N75orLb8djhorsNCcZD6CXSweY+yPmz9Rfl7QJn9Y fhZ2H/FdIjH3hHrbPi19nP19qbwi9Wz7d6mjczLy/BeNDpG7nPAdXu/iTMXTFmn44SU/ iYYuWrxR87JeXEa6rf2X3XUpUVlMUjKLU4WgmOjrFnnDqaHR29YNq8hM8jaNkWaEcVTO CQ== Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 372hjajqtn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 03 Mar 2021 17:19:43 -0500 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 123MICgm031882 for ; Wed, 3 Mar 2021 22:19:43 GMT Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by ppma03dal.us.ibm.com with ESMTP id 3720r0gg1q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 03 Mar 2021 22:19:43 +0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 123MJggb22282518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 3 Mar 2021 22:19:42 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8447BAE060 for ; Wed, 3 Mar 2021 22:19:42 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 495BEAE05F for ; Wed, 3 Mar 2021 22:19:42 +0000 (GMT) Received: from Davids-MBP.randomparity.org (unknown [9.211.54.90]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP for ; Wed, 3 Mar 2021 22:19:42 +0000 (GMT) To: "users@dpdk.org" From: David Christensen Message-ID: Date: Wed, 3 Mar 2021 14:19:41 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-03_07:2021-03-03, 2021-03-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 malwarescore=0 clxscore=1015 adultscore=0 phishscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103030156 Subject: [dpdk-users] Connecting VM to example/vhost Application Fails with "Failed to unlink" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Trying to connect a VM to the example/vhost switch application. The dpdk-vhost command line and output as follows: $ sudo ./build/examples/dpdk-vhost -l 120-127 -n 4 --socket-mem 0,0,0,0,0,0,0,0,2048 --no-pci -- -p 1 --socket-file /tmp/sock0 EAL: Detected 160 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: No available hugepages reported in hugepages-2048kB EAL: Probing VFIO support... EAL: VFIO support initialized EAL: No legacy callbacks, legacy socket not created VHOST_PORT: Specified port number(1) exceeds total system port number(0) VHOST_DATA: Procesing on Core 121 started VHOST_DATA: Procesing on Core 122 started VHOST_DATA: Procesing on Core 126 started VHOST_DATA: Procesing on Core 125 started VHOST_DATA: Procesing on Core 123 started VHOST_DATA: Procesing on Core 127 started VHOST_CONFIG: vhost-user server: socket created, fd: 48 VHOST_DATA: Procesing on Core 124 started VHOST_CONFIG: bind to /tmp/sock0 VM configuration in the libvirt XML as follows:
VM fails to start with the following error: $ sudo virsh start --console dpdk-server-0 error: Failed to start domain dpdk-server-0 error: internal error: process exited while connecting to monitor: 2021-03-03T22:16:20.767940Z qemu-system-ppc64: -chardev socket,id=charnet0,path=/tmp/sock0,server: Failed to unlink socket /tmp/sock0: Operation not permitted I'm able to start the VM with OVS/DPDK (2.15.0/20.11) and testpmd from DPDK, but not the vhost switch application. Any suggestions? Dave