[ovs-discuss] OVS + DPDK Vhostuser - Failed to set msg fds

Advith Nagappa advith.nagappa at gmail.com
Tue Jun 6 09:41:18 UTC 2017


Hello All,

I am trying to set up a DPDK OVS on KVM.. I am using OVS 2.6.1 and DPDK
16.11.2.

The build is successful and I am able to create a OVS bridge and create
dpdkvhostuser ports.

*ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev*
*ovs-vsctl add-port br0 vhost-user1 -- set Interface vhost-user1
type=dpdkvhostuser*
*ovs-vsctl add-port br0 vhost-user2 -- set Interface vhost-user2
type=dpdkvhostuser*

 However*, *When I try to set boot up an already created disk via:

*qemu-system-x86_64 -m 4096 -hda /home/advith/one.qcow2 -boot c -enable-kvm
-no-reboot -net none \*
*-chardev socket,id=char1,path=/usr/local/var/run/openvswitch/vhost-user1 \*
*-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \*
*-device virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1 \*
*-object
memory-backend-file,id=mem,size=4096M,mem-path=/dev/hugepages,share=on
-numa node,memdev=mem -mem-prealloc*


I get a message saying:
*qemu-system_x86_64: Failed to set msg fds*

*qemu-system_x86_64: vhost v0 0 ring restore failed: -1: Resource
temporarily unavailable(11)*

*qemu-system_x86_64: Failed to set msg fds*
*qemu-system_x86_64: vhost v0 1 ring restore failed: -1: Resource
temporarily unavailable(11)*

PS: I have two numa nodes, and the dpdk_init parameters I am passing are:

*ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true*
*ovs-vsctl --no-wait set Open_vSwitch .
other_config:dpdk-socket-mem="1024,1024"*
*ovs-vsctl --no-wait set Open_vSwitch .
other_config:dpdk-extra=--vhost-owner libvirt-qemu:kvm --vhost-perm 0666*


Has anyone encountered a similar issue?

Best Regards
Advith Nagappa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170606/ffaa71cf/attachment-0001.html>


More information about the discuss mailing list