The debug CLI was replaced by set logging class vhost-user level debug Use show log to view the messages.
Did you configure 1GB huge on the container? It used to be that dpdk virtio requires 1GB huge page. Not sure if it is still the case nowadays. If you use VPP 19.04 or later, you could try VPP native virtio instead. Steven From: <vpp-dev@lists.fd.io> on behalf of "mojtaba.eshghi" <mojtaba.esh...@ut.ac.ir> Date: Sunday, July 28, 2019 at 1:56 PM To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: [vpp-dev] #vpp Connecting a VPP inside a container to a VPP inside host using vhost-virtio-user interfaces Hi Guys, I'm trying to connect a vpp inside a host to a vpp which is running inside a lxc container on a linux machine. I am going to do that via vhost-virtio-user. The problem is that after I create the vhost and virtio-user, the output of the "show vhost-user interfaces" command on the host vpp is as below: [cid:attach_0_15B5ADA3A865928D_10559@lists.fd.io] (it seems that a handshake is not done in the right way, the "memory regions (total 0)" part...). * VPP 19.x does not support "debug vhost on" cli command. I will put my configuration files one by one here. Here is my startup.conf for host vpp: [cid:attach_1_15B5ADA3A86981DB_10559@lists.fd.io] This one is startup.conf of the container VPP: [cid:attach_2_15B5ADA3A86B4E72_10559@lists.fd.io] These are the commands issued in the host vpp: create vhost-user socket /etc/vpp/sock3.sock server set int state VirtualEthernet0/0/0 up Both virtio-user0 interface in container vpp and the virtualethernet0/0/0 inside the host are created successfully. When I check the "htop" utility, it seems that after creation of these interfaces both of vpps begin to poll (CPU usage 100% on two cores). ANY HELP WOULD BE APPRECIATED Mojtaba, Thanks,
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13600): https://lists.fd.io/g/vpp-dev/message/13600 Mute This Topic: https://lists.fd.io/mt/32635595/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-